Changeset 1031 for trunk/dll/mainwnd.c
- Timestamp:
- Jun 28, 2008, 10:54:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd.c
r1029 r1031 2974 2974 CHAR szDir[CCHMAXPATH]; 2975 2975 CHAR szPrefix[STATE_NAME_MAX_BYTES + 2]; 2976 HWND hwndDir, hwndC, hwnd PPSave = NULLHANDLE;2976 HWND hwndDir, hwndC, hwndDir0 = NULLHANDLE, hwndPPSave = NULLHANDLE; 2977 2977 SWP swp, swpO, swpN; 2978 2978 ULONG size, numsaves = 0, x; … … 3232 3232 MPFROMP(szDir), MPFROMLONG(1)); 3233 3233 if (hwndDir) { 3234 3235 if (x == 0) { 3236 hwndDir0 = hwndDir; 3237 } 3234 3238 hwndC = WinWindowFromID(hwndDir, FID_CLIENT); 3235 3239 if (hwndC) { … … 3334 3338 swp.cy, 3335 3339 swp.fl | SWP_MOVE | 3336 SWP_SIZE | SWP_SHOW | SWP_ZORDER |3340 SWP_SIZE | SWP_SHOW | SWP_ZORDER | 3337 3341 SWP_ACTIVATE); 3338 3342 else if (swp.fl & (SWP_HIDE | SWP_MINIMIZE)) { … … 3355 3359 SavePresParams(hwndPPSave, "DirCnr"); 3356 3360 WinDestroyWindow(hwndPPSave); 3361 } 3362 if (hwndDir0) { 3363 WinSetFocus(HWND_DESKTOP, hwndDir0); 3357 3364 } 3358 3365 } … … 4607 4614 if (saymsg(MB_YESNO | MB_DEFBUTTON2 | MB_ICONASTERISK, hwnd, 4608 4615 GetPString(IDS_WARNINGTEXT), 4609 "\"%s\" is the state name used by \"Save directory container state\". Any changes to this state will last only until FM/2 closes or this setting is disabled. Proceed with this change?", szStateName) == MBID_NO)4616 GetPString(IDS_SHUTDOWNSTATE_WARNING), szStateName) == MBID_NO) 4610 4617 fAbortOperation = TRUE; 4611 4618 }
Note:
See TracChangeset
for help on using the changeset viewer.