Changeset 1031 for trunk/dll


Ignore:
Timestamp:
Jun 28, 2008, 10:54:10 PM (17 years ago)
Author:
John Small
Message:

Ticket 227: Moved warning message string to fm2dll.str.

Location:
trunk/dll
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/fm3dll.str

    r1004 r1031  
    3636Can't start %s %s
    3737Your Drag request exceeds the PM limit\n (For compatibility with 16 bit apps)\n The unprocessed objects are still selected in the\n source directory for additional processing\n See Drag & Drop in the help file for additional information
    38 
     38\"%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?
    3939 You are here --> x
    4040Move not allowed - forcing copy
  • trunk/dll/fm3str.h

    r1004 r1031  
    1818  26 Nov 07 GKY Added new readonly in editor & ext path
    1919  10 Feb 08 GKY Add strings to implement bubble help for bitmap menu items
     20  28 Jun 08 JBS Add string for warning message for changing/deleting FN2SHUTDOWN state
    2021
    2122***********************************************************************/
     
    6869#define IDS_CANTSTARTTEXT                                     35
    6970#define IDS_EXCEEDPMDRGLMT                                    36
     71#define IDS_SHUTDOWNSTATE_WARNING                             37
    7072#define IDS_YOUAREHERETEXT                                    38
    7173#define IDS_FORCINGCOPYTEXT                                   39
  • trunk/dll/mainwnd.c

    r1029 r1031  
    29742974  CHAR szDir[CCHMAXPATH];
    29752975  CHAR szPrefix[STATE_NAME_MAX_BYTES + 2];
    2976   HWND hwndDir, hwndC, hwndPPSave = NULLHANDLE;
     2976  HWND hwndDir, hwndC, hwndDir0 = NULLHANDLE, hwndPPSave = NULLHANDLE;
    29772977  SWP swp, swpO, swpN;
    29782978  ULONG size, numsaves = 0, x;
     
    32323232                                      MPFROMP(szDir), MPFROMLONG(1));
    32333233          if (hwndDir) {
     3234
     3235            if (x == 0) {
     3236              hwndDir0 = hwndDir;
     3237            }
    32343238            hwndC = WinWindowFromID(hwndDir, FID_CLIENT);
    32353239            if (hwndC) {
     
    33343338                              swp.cy,
    33353339                              swp.fl | SWP_MOVE |
    3336                               SWP_SIZE | SWP_SHOW | SWP_ZORDER |
     3340                              SWP_SIZE | SWP_SHOW |  SWP_ZORDER |
    33373341                              SWP_ACTIVATE);
    33383342            else if (swp.fl & (SWP_HIDE | SWP_MINIMIZE)) {
     
    33553359       SavePresParams(hwndPPSave, "DirCnr");
    33563360       WinDestroyWindow(hwndPPSave);
     3361    }
     3362    if (hwndDir0) {
     3363      WinSetFocus(HWND_DESKTOP, hwndDir0);
    33573364    }
    33583365  }
     
    46074614          if (saymsg(MB_YESNO | MB_DEFBUTTON2 | MB_ICONASTERISK, hwnd,
    46084615              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)
    46104617              fAbortOperation = TRUE;
    46114618        }
Note: See TracChangeset for help on using the changeset viewer.