Rev 21 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 21 | Rev 124 | ||
|---|---|---|---|
| Line 263... | Line 263... | ||
| 263 | else if (message == WM_DESTROY) |
263 | else if (message == WM_DESTROY) |
| 264 | { |
264 | { |
| 265 | hThisWnd = NULL; // window is closed |
265 | hThisWnd = NULL; // window is closed |
| 266 | SetForegroundWindow (hMainWnd); // restore focus on the main window |
266 | SetForegroundWindow (hMainWnd); // restore focus on the main window |
| 267 | is_window_games_validated = true; // return a "load PGN game" value (cancel value will be implied if chosen_game is NULL) |
267 | is_window_games_validated = true; // return a "load PGN game" value (cancel value will be implied if chosen_game is NULL) |
| 268 | - | ||
| - | 268 | the_board.reevaluate = true; // refresh the GUI buttons if needed |
|
| 269 | return (0); // as MSDN says |
269 | return (0); // as MSDN says |
| 270 | } |
270 | } |
| 271 | 271 | ||
| 272 | // else are we resizing the window ? |
272 | // else are we resizing the window ? |
| 273 | else if (message == WM_SIZE) |
273 | else if (message == WM_SIZE) |