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 311... Line 311...
311
         SetFocus (GetDlgItem (hWnd, WINDOW_EDITBOX_NAMECONTAINS));
311
         SetFocus (GetDlgItem (hWnd, WINDOW_EDITBOX_NAMECONTAINS));
312
   }
312
   }
313
 
313
 
314
   // else did we click the close button on the title bar ?
314
   // else did we click the close button on the title bar ?
315
   else if (message == WM_CLOSE)
315
   else if (message == WM_CLOSE)
316
      DestroyWindow (hWnd); // if so, destroy this window
316
      DestroyWindow (hWnd); // close the window
317
 
317
 
318
   // else are we destroying this window ?
318
   // else are we destroying this window ?
319
   else if (message == WM_DESTROY)
319
   else if (message == WM_DESTROY)
320
   {
320
   {
321
      KillTimer (hWnd, WINDOW_TIMER_REFRESH); // destroy the timer we used to refresh the window
321
      KillTimer (hWnd, WINDOW_TIMER_REFRESH); // destroy the timer we used to refresh the window