Rev 124 | Rev 147 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 124 | Rev 140 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | 19 | ||
20 | void DialogBox_About (void) |
20 | void DialogBox_About (void) |
21 | { |
21 | { |
22 | // helper function to fire up the modeless dialog box |
22 | // helper function to fire up the modeless dialog box |
23 | 23 | ||
- | 24 | is_dialogbox_displayed = true; |
|
24 | _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new one |
25 | _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new one |
25 | 26 | ||
26 | return; // return as soon as the thread is fired up |
27 | return; // return as soon as the thread is fired up |
27 | } |
28 | } |
28 | 29 | ||
Line 48... | Line 49... | ||
48 | CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_SWISS, L"Papyrus"); |
49 | CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_SWISS, L"Papyrus"); |
49 | 50 | ||
50 | // display the dialog box |
51 | // display the dialog box |
51 | if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1) |
52 | if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1) |
52 | is_dialogbox_about_validated = true; |
53 | is_dialogbox_about_validated = true; |
- | 54 | is_dialogbox_displayed = false; |
|
53 | 55 | ||
54 | // destroy the font object we used |
56 | // destroy the font object we used |
55 | DeleteObject (hFontBanner); |
57 | DeleteObject (hFontBanner); |
56 | 58 | ||
57 | the_board.reevaluate = true; // refresh the GUI buttons if needed |
59 | the_board.reevaluate = true; // refresh the GUI buttons if needed |