Rev 124 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 124 | Rev 140 | ||
---|---|---|---|
Line 18... | Line 18... | ||
18 | 18 | ||
19 | void DialogBox_GoToMove (void) |
19 | void DialogBox_GoToMove (void) |
20 | { |
20 | { |
21 | // helper function to fire up the modeless dialog box |
21 | // helper function to fire up the modeless dialog box |
22 | 22 | ||
- | 23 | is_dialogbox_displayed = true; |
|
23 | _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new one |
24 | _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new one |
24 | 25 | ||
25 | return; // return as soon as the thread is fired up |
26 | return; // return as soon as the thread is fired up |
26 | } |
27 | } |
27 | 28 | ||
Line 52... | Line 53... | ||
52 | // to implement a non-modal message box using the Common Controls library. |
53 | // to implement a non-modal message box using the Common Controls library. |
53 | 54 | ||
54 | // display the dialog box |
55 | // display the dialog box |
55 | if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1) |
56 | if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1) |
56 | is_dialogbox_gotomove_validated = true; |
57 | is_dialogbox_gotomove_validated = true; |
- | 58 | is_dialogbox_displayed = false; |
|
57 | 59 | ||
58 | the_board.reevaluate = true; // refresh the GUI buttons if needed |
60 | the_board.reevaluate = true; // refresh the GUI buttons if needed |
59 | return; // _endthread() implied |
61 | return; // _endthread() implied |
60 | } |
62 | } |
61 | 63 |