Subversion Repositories Games.Chess Giants

Rev

Rev 124 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 124 Rev 140
Line 14... Line 14...
14
 
14
 
15
void DialogBox_Comment (void)
15
void DialogBox_Comment (void)
16
{
16
{
17
   // helper function to fire up the modeless dialog box
17
   // helper function to fire up the modeless dialog box
18
 
18
 
-
 
19
   is_dialogbox_displayed = true;
19
   _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new one
20
   _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new one
20
 
21
 
21
   return; // return as soon as the thread is fired up
22
   return; // return as soon as the thread is fired up
22
}
23
}
23
 
24
 
Line 39... Line 40...
39
   // to implement a non-modal message box using the Common Controls library.
40
   // to implement a non-modal message box using the Common Controls library.
40
 
41
 
41
   // display the dialog box
42
   // display the dialog box
42
   if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1)
43
   if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1)
43
      is_dialogbox_comment_validated = true;
44
      is_dialogbox_comment_validated = true;
-
 
45
   is_dialogbox_displayed = false;
44
 
46
 
45
   the_board.reevaluate = true; // refresh the GUI buttons if needed
47
   the_board.reevaluate = true; // refresh the GUI buttons if needed
46
   return; // _endthread() implied
48
   return; // _endthread() implied
47
}
49
}
48
 
50