Changeset 41 for trunk/settings.cpp
- Timestamp:
- Mar 17, 2018, 11:00:45 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/settings.cpp
r37 r41 232 232 hwndPage[0] = WinLoadDlg (hwndNB, hwndNB, (PFNWP) WindowProcedure, 233 233 GETMODULE, ID_DLG_SETTINGSPAGE0, this); 234 hwndPage[1] = WinLoadDlg (hwndNB, hwndNB, (PFNWP) Page1Procedure, 234 hwndPage[1] = WinLoadDlg (hwndNB, hwndNB, (PFNWP) Page2Procedure, 235 GETMODULE, ID_DLG_SETTINGSPAGE2, this); 236 hwndPage[2] = WinLoadDlg (hwndNB, hwndNB, (PFNWP) Page1Procedure, 235 237 GETMODULE, ID_DLG_SETTINGSPAGE1, this); 236 hwndPage[2] = WinLoadDlg (hwndNB, hwndNB, (PFNWP) Page2Procedure,237 GETMODULE, ID_DLG_SETTINGSPAGE2, this);238 238 hwndPage[3] = WinLoadDlg (hwndNB, hwndNB, (PFNWP) Page4Procedure, 239 239 GETMODULE, ID_DLG_SETTINGSPAGE4, this); … … 267 267 //WinSetFocus (WinWindowFromID (hwndDlg, WID_PB_OK), TRUE); 268 268 //WinSetFocus( hwndPage[0], TRUE ); 269 #ifdef _QUIET_ 270 if (HACCEL haccel = WinLoadAccelTable (hab, GETMODULE, 1)) { 271 int rc = WinSetAccelTable (hab, haccel, hwndDlg); 272 _PmpfF(( " Acceltable %i", rc)); 273 } 274 #endif 269 275 WinSetActiveWindow( HWND_DESKTOP, hwndPage[0] ); 270 276 #ifdef _DOLOGDEBUG_ … … 280 286 LogDebug( "Dialog: checkpoint 8" ); 281 287 #endif 282 288 #ifndef _QUIET_ 283 289 // it ain't the best way to do it, but ... 284 290 SetIdlePriority(QueryFlag(SEI_IDLEPRIORITY)); 285 291 #endif 286 292 for (i = 0; i < COUNT_PAGES; i++) 287 293 hwndPage[i] = NULL; … … 1134 1140 //#if 1 1135 1141 pszPageTab[0] = RSTR (IDS_MAINWIN); 1136 pszPageTab[1] = RSTR (IDS_PAGE SAVE);1137 pszPageTab[2] = RSTR (IDS_PAGE MISC);1142 pszPageTab[1] = RSTR (IDS_PAGEMISC); 1143 pszPageTab[2] = RSTR (IDS_PAGESAVE); 1138 1144 pszPageTab[3] = RSTR (IDS_PAGELANGUAGE); 1139 1145 #else … … 1158 1164 //#if 1 1159 1165 pszPageTab[0] = RSTR (IDS_MAINWIN); 1160 pszPageTab[1] = RSTR (IDS_PAGE SAVE);1161 pszPageTab[2] = RSTR (IDS_PAGE MISC);1166 pszPageTab[1] = RSTR (IDS_PAGEMISC); 1167 pszPageTab[2] = RSTR (IDS_PAGESAVE); 1162 1168 pszPageTab[3] = RSTR (IDS_PAGELANGUAGE); 1163 1169 #else
Note:
See TracChangeset
for help on using the changeset viewer.