Changeset 1722 for trunk/dll/errutil.c
- Timestamp:
- Feb 16, 2014, 9:17:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/errutil.c
r1718 r1722 40 40 07 Nov 13 SHL Update comments 41 41 15 Feb 14 GKY Improvements to saymsg2 some code cleanup 42 16 Feb 14 GKY Rework readonly check on delete code so it actually works in a logical way 43 and so it works with move to trashcan inabled. 42 44 43 45 ***********************************************************************/ … … 60 62 #include "init.h" // Data declares 61 63 #include "wrappers.h" // xmallocz 64 #include "fm3dll2.h" 62 65 63 66 #pragma data_seg(DATA1) … … 398 401 strcpy(mb2dBut[2].achText,GetPString(IDS_MB2DNO)); 399 402 strcpy(mb2dBut[3].achText,GetPString(IDS_MB2DCANCELOP)); 400 mb2dBut[0].idButton = 1;401 mb2dBut[1].idButton = 2;402 mb2dBut[2].idButton = 3;403 mb2dBut[3].idButton = 4;403 mb2dBut[0].idButton = SM2_YES; 404 mb2dBut[1].idButton = SM2_DONTASK; 405 mb2dBut[2].idButton = SM2_NO; 406 mb2dBut[3].idButton = SM2_CANCEL; 404 407 if (DefaultButton) 405 408 mb2dBut[DefaultButton - 1].flStyle = BS_DEFAULT; … … 409 412 pmbInfo->hIcon = 0; 410 413 pmbInfo->cButtons = 4; 411 pmbInfo->flStyle = MB_MOVEABLE | MB_ SYSTEMMODAL | MB_ICONQUESTION ;414 pmbInfo->flStyle = MB_MOVEABLE | MB_ICONQUESTION ; 412 415 pmbInfo->hwndNotify = NULLHANDLE; 413 416 for (i = 0; i < 4; i++) { … … 415 418 } 416 419 rc = WinMessageBox2(HWND_DESKTOP, hwnd, 417 szMsg, pszTitle, 1234,420 szMsg, pszTitle, SM2_DIALOG, 418 421 pmbInfo); 422 WinSetFocus(HWND_DESKTOP, SM2_DIALOG); 419 423 free(pmbInfo); 420 424 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.