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 21
Line 237... Line 237...
237
      ShowWindow (hWnd, SW_SHOW);
237
      ShowWindow (hWnd, SW_SHOW);
238
   }
238
   }
239
 
239
 
240
   // else did we click the close button on the title bar ?
240
   // else did we click the close button on the title bar ?
241
   else if (message == WM_CLOSE)
241
   else if (message == WM_CLOSE)
242
      DestroyWindow (hWnd); // destroy this window
242
      DestroyWindow (hWnd); // close the window
243
 
243
 
244
   // else is the window being destroyed ?
244
   // else is the window being destroyed ?
245
   else if (message == WM_DESTROY)
245
   else if (message == WM_DESTROY)
246
   {
246
   {
247
      KillTimer (hWnd, WINDOW_TIMER_REFRESH); // destroy the timer we used to refresh the window
247
      KillTimer (hWnd, WINDOW_TIMER_REFRESH); // destroy the timer we used to refresh the window