Subversion Repositories Games.Chess Giants

Rev

Rev 1 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 124
Line 78... Line 78...
78
   retval = DialogBoxParam (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hParentWnd, DialogProc_ThisDialog, (LPARAM) howmany_halfmoves);
78
   retval = DialogBoxParam (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hParentWnd, DialogProc_ThisDialog, (LPARAM) howmany_halfmoves);
79
   error = GetLastError ();
79
   error = GetLastError ();
80
   is_takebackaccepted = (retval != 0);
80
   is_takebackaccepted = (retval != 0);
81
   is_dialogbox_takeback_validated = true;
81
   is_dialogbox_takeback_validated = true;
82
 
82
 
-
 
83
   the_board.reevaluate = true; // refresh the GUI buttons if needed
83
   return; // _endthread() implied
84
   return; // _endthread() implied
84
}
85
}
85
 
86
 
86
 
87
 
87
static int CALLBACK DialogProc_ThisDialog (HWND hWnd, unsigned int message, WPARAM wParam, LPARAM lParam)
88
static int CALLBACK DialogProc_ThisDialog (HWND hWnd, unsigned int message, WPARAM wParam, LPARAM lParam)