Subversion Repositories Games.Chess Giants

Rev

Rev 124 | 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_ChangeAppearance (void)
20
void DialogBox_ChangeAppearance (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 44... Line 45...
44
   // to implement a non-modal message box using the Common Controls library.
45
   // to implement a non-modal message box using the Common Controls library.
45
 
46
 
46
   // display the dialog box
47
   // display the dialog box
47
   if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1)
48
   if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1)
48
      is_dialogbox_changeappearance_validated = true;
49
      is_dialogbox_changeappearance_validated = true;
-
 
50
   is_dialogbox_displayed = false;
49
 
51
 
50
   the_board.reevaluate = true; // refresh the GUI buttons if needed
52
   the_board.reevaluate = true; // refresh the GUI buttons if needed
51
   return; // _endthread() implied
53
   return; // _endthread() implied
52
}
54
}
53
 
55