Subversion Repositories Games.Chess Giants

Rev

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

Rev 1 Rev 19
Line 14... Line 14...
14
 
14
 
15
void DialogBox_Resign (void)
15
void DialogBox_Resign (void)
16
{
16
{
17
   // helper function to fire up the modeless dialog box
17
   // helper function to fire up the modeless dialog box
18
 
18
 
19
   _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new one
19
   _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new thread to display the dialog box
20
 
20
 
21
   return; // return as soon as the thread is fired up
21
   return; // return as soon as the thread is fired up
22
}
22
}
23
 
23
 
24
 
24
 
Line 95... Line 95...
95
      SetWindowText (hWnd, LOCALIZE (L"Quit_Title"));
95
      SetWindowText (hWnd, LOCALIZE (L"Quit_Title"));
96
      Static_SetText (GetDlgItem (hWnd, STATICTEXT_RESIGN_QUESTION), LOCALIZE (L"Resign_Question"));
96
      Static_SetText (GetDlgItem (hWnd, STATICTEXT_RESIGN_QUESTION), LOCALIZE (L"Resign_Question"));
97
      SetWindowText (GetDlgItem (hWnd, BUTTON_GIVEUP), LOCALIZE (L"Resign_GiveUp"));
97
      SetWindowText (GetDlgItem (hWnd, BUTTON_GIVEUP), LOCALIZE (L"Resign_GiveUp"));
98
      SetWindowText (GetDlgItem (hWnd, BUTTON_BACKTOGAME), LOCALIZE (L"Resign_BackToGame"));
98
      SetWindowText (GetDlgItem (hWnd, BUTTON_BACKTOGAME), LOCALIZE (L"Resign_BackToGame"));
99
      Static_SetText (GetDlgItem (hWnd, STATICTEXT_RESIGN_STATUSBAR), LOCALIZE (L"Resign_StatusBar"));
99
      Static_SetText (GetDlgItem (hWnd, STATICTEXT_RESIGN_STATUSBAR), LOCALIZE (L"Resign_StatusBar"));
-
 
100
 
-
 
101
      // play the "question" system sound
-
 
102
      PlaySound ((LPCWSTR) SND_ALIAS_SYSTEMASTERISK, NULL, SND_ALIAS_ID | SND_ASYNC);
100
 
103
 
101
      // convert the status bar message to a hyperlink
104
      // convert the status bar message to a hyperlink
102
      ConvertStaticToHyperlink (GetDlgItem (hWnd, STATICTEXT_RESIGN_STATUSBAR));
105
      ConvertStaticToHyperlink (GetDlgItem (hWnd, STATICTEXT_RESIGN_STATUSBAR));
103
   }
106
   }
104
 
107