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 251... Line 251...
251
      ShowWindow (hWnd, SW_SHOW);
251
      ShowWindow (hWnd, SW_SHOW);
252
   }
252
   }
253
 
253
 
254
   // else did we click the close button on the title bar ?
254
   // else did we click the close button on the title bar ?
255
   else if (message == WM_CLOSE)
255
   else if (message == WM_CLOSE)
256
      DestroyWindow (hWnd); // if so, destroy this window
256
      DestroyWindow (hWnd); // close the window
257
 
257
 
258
   // else are we destroying this window ?
258
   // else are we destroying this window ?
259
   else if (message == WM_DESTROY)
259
   else if (message == WM_DESTROY)
260
   {
260
   {
261
      KillTimer (hWnd, WINDOW_TIMER_REFRESH); // destroy the timer we used to refresh the dialog text
261
      KillTimer (hWnd, WINDOW_TIMER_REFRESH); // destroy the timer we used to refresh the dialog text