\r
extern WindowPlacement wpEngineOutput;\r
\r
+extern BoardSize boardSize;\r
+\r
/* Module variables */\r
#define H_MARGIN 2\r
#define V_MARGIN 2\r
\r
ResizeWindowControls( hDlg, windowMode );\r
\r
+ /* Set font */\r
+ SendDlgItemMessage( engineOutputDialog, IDC_EngineMemo1, WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf, MAKELPARAM(TRUE, 0 ));\r
+ SendDlgItemMessage( engineOutputDialog, IDC_EngineMemo2, WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf, MAKELPARAM(TRUE, 0 ));\r
+\r
SetEngineState( 0, STATE_IDLE, "" );\r
SetEngineState( 1, STATE_IDLE, "" );\r
}\r
GROUPBOX "All Board Sizes",IDC_STATIC,3,87,259,109\r
CONTROL "",OPT_SampleMoveHistoryFont,"RICHEDIT",ES_READONLY | \r
WS_DISABLED | WS_BORDER,67,170,140,20\r
- LTEXT "Move History",OPT_MessageFont6,13,175,50,10,NOT \r
+ LTEXT "Move History, Engine Output",OPT_MessageFont6,13,171,50,20,NOT \r
WS_GROUP\r
END\r
\r
extern char *defaultTextAttribs[];
extern HWND commentDialog;
extern HWND moveHistoryDialog;
+extern HWND engineOutputDialog;
extern char installDir[];
extern HWND hCommPort; /* currently open comm port */
extern DCB dcb;
SendDlgItemMessage(moveHistoryDialog, IDC_MoveHistory,
WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf,
MAKELPARAM(TRUE, 0));
- InvalidateRect(editTagsDialog, NULL, TRUE);
+ SendMessage( moveHistoryDialog, WM_INITDIALOG, 0, 0 );
+// InvalidateRect(editTagsDialog, NULL, TRUE); // [HGM] this ws improperly cloned?
+ }
+
+ if( engineOutputDialog != NULL ) {
+ SendDlgItemMessage(engineOutputDialog, IDC_EngineMemo1,
+ WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf,
+ MAKELPARAM(TRUE, 0));
+ SendDlgItemMessage(engineOutputDialog, IDC_EngineMemo2,
+ WM_SETFONT, (WPARAM)font[boardSize][MOVEHISTORY_FONT]->hf,
+ MAKELPARAM(TRUE, 0));
}
if (hwndConsole) {