Changeset 593 for trunk/dll


Ignore:
Timestamp:
Mar 31, 2007, 9:13:59 PM (19 years ago)
Author:
Gregg Young
Message:

Changes to remove GetPString from window class names

Location:
trunk/dll
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r570 r593  
    3232  03 Nov 06 SHL Renames
    3333  14 Mar 07 SHL ArcObjWndProc/UM_ENTER: delay before starting viewer
    34 
     34  30 Mar 07 GKY Remove GetPString for window class names
    3535***********************************************************************/
    3636
     
    32613261                                   WS_VISIBLE,
    32623262                                   &FrameFlags,
    3263                                    GetPString(IDS_WCARCCONTAINER),
     3263                                   WC_ARCCONTAINER,
    32643264                                   title,
    32653265                                   WS_VISIBLE | fwsAnimate,
     
    33663366
    33673367            CommonCreateTextChildren(dcd->hwndClient,
    3368                                      GetPString(IDS_WCARCSTATUS), ids);
     3368                                     WC_ARCSTATUS, ids);
    33693369          }
    33703370          WinEnableWindow(WinWindowFromID(dcd->hwndClient, DIR_VIEW), FALSE);
  • trunk/dll/autoview.c

    r551 r593  
    1717  15 Aug 06 SHL Use Runtime_Error more
    1818  03 Nov 06 SHL Renames
     19 30  Mar 07 GKY Remove GetPString for window class names
    1920
    2021***********************************************************************/
     
    624625      DosError(FERR_DISABLEHARDERR);
    625626      WinRegisterClass(hab2,
    626                        GetPString(IDS_WCOBJECTWINDOW),
     627                       WC_OBJECTWINDOW,
    627628                       AutoObjProc, 0, sizeof(PVOID));
    628629      hwndAutoObj = WinCreateWindow(HWND_OBJECT,
    629                                     GetPString(IDS_WCOBJECTWINDOW),
     630                                    WC_OBJECTWINDOW,
    630631                                    (PSZ) NULL,
    631632                                    0,
  • trunk/dll/collect.c

    r551 r593  
    3030  31 Aug 06 SHL Disable Utilities->Seek and scan menu while busy
    3131  31 Aug 06 SHL Correct stop scan context menu enable/disable
     32  30 Mar 07 GKY Remove GetPString for window class names
    3233
    3334***********************************************************************/
     
    22642265                li->type = WinDlgBox(HWND_DESKTOP, dcd->hwndParent,
    22652266                                     DropListProc, FM3ModHandle,
    2266                                      DND_FRAME, MPFROMP(&cl));
    2267                 if (!li->type) {
     2267                                     DND_FRAME, MPFROMP(&cl));
     2268                if (li->type == DID_ERROR)
     2269                  Win_Error(DND_FRAME, HWND_DESKTOP, pszSrcFile, __LINE__,
     2270                            "Drag & Drop Dialog");
     2271                if (!li->type) {
    22682272                  FreeListInfo(li);
    22692273                  return 0;
    22702274                }
    22712275                li->list = cl.list;
    2272                 if (!li->list || !li->list[0]) {
     2276                if (!li->list || !li->list[0]) {
    22732277                  FreeListInfo(li);
    22742278                  return 0;
     
    26342638                                 WS_VISIBLE,
    26352639                                 &FrameFlags,
    2636                                  GetPString(IDS_WCCOLLECTOR),
     2640                                 WC_COLLECTOR,
    26372641                                 NULL,
    26382642                                 WS_VISIBLE | fwsAnimate,
     
    27142718
    27152719          CommonCreateTextChildren(dcd->hwndClient,
    2716                                    GetPString(IDS_WCCOLSTATUS), ids);
     2720                                   WC_COLSTATUS, ids);
    27172721        }
    27182722        if (FrameFlags & FCF_SHELLPOSITION)
  • trunk/dll/common.c

    r574 r593  
    1616  07 Jan 07 GKY Updated Helv font to vector font Helvetica
    1717  22 Mar 07 GKY Use QWL_USER
     18  30 Mar 07 GKY Remove GetPString for window class names
    1819
    1920***********************************************************************/
     
    340341  // Create a children of frame window
    341342  hwndStatus = WinCreateWindow(hwndFrame,
    342                                GetPString(IDS_WCSTATUS),
     343                               WC_STATUS,
    343344                               "Status",
    344345                               WS_VISIBLE | SS_TEXT | DT_LEFT |
     
    359360
    360361  hwndStatus2 = WinCreateWindow(hwndFrame,
    361                                 GetPString(IDS_WCSTATUS),
     362                                WC_STATUS,
    362363                                "Status2",
    363364                                WS_VISIBLE | SS_TEXT | DT_LEFT |
     
    379380
    380381  hwndAttr = WinCreateWindow(hwndFrame,
    381                              GetPString(IDS_WCSTATUS),
     382                             WC_STATUS,
    382383                             "Attr",
    383384                             WS_VISIBLE | SS_TEXT | DT_CENTER |
     
    397398
    398399  hwndDate = WinCreateWindow(hwndFrame,
    399                              GetPString(IDS_WCSTATUS),
     400                             WC_STATUS,
    400401                             "Date",
    401402                             WS_VISIBLE | SS_TEXT | DT_CENTER |
     
    415416
    416417  hwndName = WinCreateWindow(hwndFrame,
    417                              GetPString(IDS_WCSTATUS),
     418                             WC_STATUS,
    418419                             "Name",
    419420                             WS_VISIBLE | SS_TEXT | DT_LEFT |
     
    433434
    434435  hwndTmp = WinCreateWindow(hwndFrame,
    435                             GetPString(IDS_WCTOOLBACK),
     436                            WC_TOOLBACK,
    436437                            NullStr,
    437438                            WS_VISIBLE | SS_TEXT | DT_CENTER | DT_VCENTER,
     
    450451
    451452  hwndBack = WinCreateWindow(hwndFrame,
    452                              GetPString(IDS_WCDRIVEBACK),
     453                             WC_DRIVEBACK,
    453454                             NullStr,
    454455                             WS_VISIBLE | SS_TEXT | DT_RIGHT | DT_BOTTOM,
     
    469470
    470471  hwndLED = WinCreateWindow(hwndFrame,
    471                             GetPString(IDS_WCLED),
     472                            WC_LED,
    472473                            "#920",
    473474                            WS_VISIBLE | SS_BITMAP,
     
    480481
    481482  hwndLEDHdr = WinCreateWindow(hwndFrame,
    482                                GetPString(IDS_WCLED),
     483                               WC_LED,
    483484                               "0",
    484485                               WS_VISIBLE | SS_TEXT | DT_VCENTER |
     
    493494
    494495  hwndAutoview = WinCreateWindow(hwndFrame,
    495                                  GetPString(IDS_WCAUTOVIEW),
     496                                 WC_AUTOVIEW,
    496497                                 NullStr,
    497498                                 WS_VISIBLE | SS_TEXT | DT_LEFT |
  • trunk/dll/datamin.c

    r553 r593  
    1818  02 Jan 07 GKY Changed drive information string formating to accomodate 6 char FS names
    1919  07 Jan 07 GKY Move error strings etc. to string file
     20  30 Mar 07 GKY Remove GetPString for window class names
    2021
    2122***********************************************************************/
     
    218219      for (c = 0; ids[c]; c++) {
    219220        if (!WinCreateWindow(hwnd,
    220                              GetPString(IDS_WCMINITIME),
     221                             WC_MINITIME,
    221222                             NullStr,
    222223                             SS_TEXT | DT_CENTER | DT_VCENTER | WS_VISIBLE,
     
    278279          if ((ulDriveMap & (1L << c)) && !(driveflags[c] & drivestyle)) {
    279280            if (!WinCreateWindow(hwnd,
    280                                  GetPString(IDS_WCMINITIME),
     281                                 WC_MINITIME,
    281282                                 NullStr,
    282283                                 SS_TEXT | DT_CENTER | DT_VCENTER |
     
    919920                         WS_VISIBLE,
    920921                         &FrameFlags,
    921                          GetPString(IDS_WCDATABAR),
     922                         WC_DATABAR,
    922923                         NULL, WS_VISIBLE, 0, MINI_FRAME, &hwndClient)) {
    923924    WinSendMsg(hwndClient, UM_RESTORE, MPFROMLONG(fl), MPVOID);
  • trunk/dll/dircnrs.c

    r552 r593  
    2121  15 Aug 06 SHL Rework warning message text
    2222  07 Jan 07 GKY Move error strings etc. to string file
     23  30 Mar 07 GKY Remove GetPString for window class names
    2324
    2425***********************************************************************/
     
    28642865              li->type = WinDlgBox(HWND_DESKTOP, dcd->hwndParent,
    28652866                                   DropListProc, FM3ModHandle,
    2866                                    DND_FRAME, MPFROMP(&cl));
    2867               if (!li->type) {
     2867                                   DND_FRAME, MPFROMP(&cl));
     2868              if (li->type == DID_ERROR)
     2869                  Win_Error(DND_FRAME, HWND_DESKTOP, pszSrcFile, __LINE__,
     2870                            "Drag & Drop Dialog");
     2871              if (!li->type) {
    28682872                FreeListInfo(li);
    28692873                return 0;
    28702874              }
    28712875              li->list = cl.list;
    2872               if (!li->list || !li->list[0]) {
     2876              if (!li->list || !li->list[0]) {
    28732877                FreeListInfo(li);
    28742878                return 0;
     
    33703374                                   WS_VISIBLE,
    33713375                                   &FrameFlags,
    3372                                    GetPString(IDS_WCDIRCONTAINER),
     3376                                   WC_DIRCONTAINER,
    33733377                                   NULL,
    33743378                                   WS_VISIBLE | fwsAnimate,
     
    34323436              ids[6] = 0;
    34333437            CommonCreateTextChildren(dcd->hwndClient,
    3434                                      GetPString(IDS_WCDIRSTATUS), ids);
     3438                                     WC_DIRSTATUS, ids);
    34353439          }
    34363440          if (!PostMsg(dcd->hwndCnr, UM_SETUP, MPVOID, MPVOID))
  • trunk/dll/droplist.c

    r551 r593  
    9393  register ULONG len, blen;
    9494  BOOL ret = FALSE;
     95  APIRET rc;
    9596
    9697  if (pDItem && buffer && buflen) {     /* else error calling function */
     
    110111    {                                   /* be sure we get full pathname of file/directory */
    111112      char szTemp[CCHMAXPATH + 2];
    112 
    113       if (!DosQueryPathInfo(buffer,
    114                             FIL_QUERYFULLNAME, szTemp, sizeof(szTemp))) {
     113      rc = DosQueryPathInfo(buffer,
     114                            FIL_QUERYFULLNAME, szTemp, sizeof(szTemp));
     115      if (!rc) {
    115116        strncpy(buffer, szTemp, buflen);
    116         buffer[buflen - 1] = 0;
    117       }
     117        buffer[buflen - 1] = 0;
     118      }
     119      else
     120       Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
     121                  "DosQueryPathInfo");
    118122    }
    119123    {                                   /* be sure that file/directory is accessible */
    120       FILESTATUS3 fsa3;
    121 
    122       if (!DosQueryPathInfo(buffer, FIL_STANDARD, &fsa3, sizeof(fsa3)))
     124        FILESTATUS3 fsa3;
     125
     126      rc = DosQueryPathInfo(buffer, FIL_STANDARD, &fsa3, sizeof(fsa3));
     127      if (!rc)
    123128        ret = TRUE;
    124       else
    125         *buffer = 0;
     129      else {
     130          Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
     131                    "DosQueryPathInfo");
     132          *buffer = 0;
     133      }
    126134    }
    127135  }
  • trunk/dll/fm3dll.h

    r570 r593  
    3939  17 Feb 07 GKY Add SelectDriveIcon to streamline update.c
    4040  18 Mar 07 GKY Add MM import typedefines for fix for files misindentified as multimedia
     41  30 Mar 07 GKY Defined golbals for removing GetPString for window class names
    4142
    4243***********************************************************************/
     
    13891390DATADEF LINKCMDS *cmdhead, *cmdtail;
    13901391DATADEF BOOL cmdloaded;
     1392DATADEF CHAR *WC_OBJECTWINDOW, *WC_BUBBLE, *WC_TOOLBUTTONS, *WC_DRIVEBUTTONS, *WC_DIRCONTAINER,
     1393  *WC_DIRSTATUS, *WC_TREECONTAINER, *WC_TREEOPENBUTTON, *WC_TREESTATUS, *WC_MAINWND,
     1394  *WC_MAINWND2, *WC_AUTOVIEW, *WC_LED, *WC_COLLECTOR, *WC_COLSTATUS, *WC_STATUS, *WC_TOOLBACK,
     1395  *WC_DRIVEBACK, *WC_ARCCONTAINER, *WC_ARCSTATUS, *WC_MLEEDITOR, *WC_INIEDITOR, *WC_SEEALL,
     1396  *WC_NEWVIEW, *WC_SEESTATUS, *WC_VIEWSTATUS, *WC_ERRORWND, *WC_MINITIME, *WC_DATABAR;
    13911397
    13921398#ifdef DEFINE_GLOBALS
  • trunk/dll/fm3dll.str

    r552 r593  
    3535Error!
    3636Can't start %s %s
    37                       FM/2 is free software from Mark Kimes.
    38 Freely redistributable.  Code available.
     37
     38
    3939 You are here --> x
    4040Move not allowed - forcing copy
     
    4949Edit
    505010.System Proportional
    51 WC_OBJECTWINDOW
    52 WC_BUBBLE
     51
     52
    53538.Helvetica
    54546.Helvetica
    55 WC_TOOLBUTTONS
    56 WC_DRIVEBUTTONS
     55
     56
    5757/HELP
    5858FM/2_Temp
     
    8585 [Rescan suggested]
    8686Dri~ves...
    87 WC_DIRCONTAINER
    88 WC_DIRSTATUS
    89 WC_TREECONTAINER
    90 WC_TREEOPENBUTTON
    91 WC_TREESTATUS
    92 WC_MAINWND
    93 WC_MAINWND2
     87
     88
     89
     90
     91
     92
     93
    9494/OPEN
    9595/CLOSE
     
    101101                                            FM/2 mini-command line help
    102102Type "/OPEN path" to open a new Directory Container.\r\rType "/CLOSE path" to close a Directory Container.\r\rType "/FILTER filter" to filter a Directory Container.\r\rType "/KEEP" or "/NOKEEP" to set the type of cmd window (autoclose or not).\r\rType "/SAVE" or "/NOSAVE" to save (or not) cmd lines between sessions.\r\r[Up arrow] or [down arrow] or [+] button for listbox of previous command lines, then [Delete] to remove one or [Enter] to reuse.\r\rOr type a command to be executed (metastrings like %%a available.)\r\rDouble-click entry field to simulate hitting [Enter].\r\rF5 is the accelerator for this mini-command line.
    103 WC_AUTOVIEW
    104 WC_LED
     103
     104
    1051058.Helvetica.Bold
    1061064.System VIO
     
    116116Seek & scan in progress.
    117117 Collector
    118 WC_COLLECTOR
     118
    119119FM/2:  Collector
    120 WC_COLSTATUS
    121 WC_STATUS
    122 WC_TOOLBACK
    123 WC_DRIVEBACK
     120
     121
     122
     123
    124124  **Archiver report:\n\n\n
    125125Say what?
     
    155155 Dragging archive member(s)...
    156156 Dragging archive file...
    157 WC_ARCCONTAINER
    158 WC_ARCSTATUS
     157
     158
    159159Click Help for detailed info.
    160160Recently used dirs
     
    164164This is a list of drives.  Double-click one to switch to it.
    165165This is a list of directories.  Double-click one to 'walk' into it.
    166 FM/2:  Select a directory -- copy target
    167 FM/2:  Select a directory -- move target
    168 FM/2:  Select a directory -- extract
    169 FM/2: select directories to compare
    170 FM/2: set directories
     166FM/2: Select a directory -- copy target
     167FM/2: Select a directory -- move target
     168FM/2: Select a directory -- extract
     169FM/2: Select directories to compare
     170FM/2: Set directories
    171171DUPE: Reading files
    172172SCAN: Searching
    173173Inserting...
    174 DUPE:  Sorting...
    175 DUPE:  Comparing...
     174DUPE: Sorting...
     175DUPE: Comparing...
    176176DUPE: Checked %lu of %lu
    177177Help
     
    226226Hold -- selecting...
    227227Dropping here can set the command line.
    228 FM/2:  Executing an Association
     228FM/2: Executing an Association
    229229<Unknown DOS process>
    230230<Unknown process>
     
    294294Select files to undelete, then click the Okay button.  Click Cancel to exit without doing anything.  Change the mask in the entry field if desired, or select another drive from the dropdown listbox.\r\rNote this requires UNDELETE.COM to be on your PATH (it is in the default installation) and the UNDELETE environment variable to be set for the drive in CONFIG.SYS.  Type HELP UNDELETE at a command line for more information.
    295295The %s file has been marked ReadOnly -- please correct.
    296 FM/2:  Help
    297 WC_MLEEDITOR
    298 WC_INIEDITOR
    299 WC_SEEALL
    300 WC_NEWVIEW
    301 WC_SEESTATUS
    302 WC_VIEWSTATUS
    303 FM/2:  See all files
     296FM/2: Help
     297
     298
     299
     300
     301
     302
     303FM/2: See all files
    304304 <Untitled>
    305305 Internal Viewer
    306306FM/2 Viewer
    307 WC_ERRORWND
    308 WC_MINITIME
    309 WC_DATABAR
     307
     308
     309
    310310archive
    311311Error #%lu accessing "%s"
     
    330330Environment variable %s is not set.  This variable should be set in CONFIG.SYS to point to all directories containing %s files.
    331331No files found.
    332 FM/2:  View HELP files
     332FM/2: View HELP files
    333333\r\rModule: %s\nLinenumber: %d\rOS/2 error:%s
    334334                                  Error Message Information
     
    491491FM/2: Set tabstop space equivalants
    492492About This Thing
    493 FM/2 Cheap Internal Viewer/Editor\r\rCopyright (c) 1993-98 M. Kimes\r(Barebones Software)\rCopyright (c) 2001, 2006 Steven Levine and Associates, Inc.\rAll Rights Reserved
     493FM/2 Cheap Internal Viewer/Editor\r\rCopyright (c) 1993-98 M. Kimes\r(Barebones Software)\rCopyright (c) 2001, 2007 Steven Levine and Associates, Inc.\rAll Rights Reserved
    494494LAN Error report
    495495Your LAN is broken -- it's returning files when directories are requested.  Compensating, but expect a slowdown.\r\rNote:  FM/2 is not responsible for fixing broken LANs.  Contact your LAN supplier and advise them that your LAN does not properly respond to DosFindFirst requests with MUST_HAVE_DIRECTORY set.  If your LAN supplier would like more information on their bug, have them contact me at one of the addresses in the READ.ME file.\r\rClick No to stop this notice from showing again for awhile.
     
    547547FM/2: Enter export filename
    548548%s exists.  Erase?
    549 FM/2:  Rearrange tools
    550 FM/2:  Edit tool
     549FM/2: Rearrange tools
     550FM/2: Edit tool
    551551This is the quick help text.
    552552This is the button text.
     
    555555That ID already has a tool.
    556556FM/2: Pick tool to %0.81s
    557 FM/2:  Load Toolbox
     557FM/2: Load Toolbox
    558558OS/2 can't find directory "%s"?
    559559There are no more directories under there...
     
    620620Filtering...
    621621(Was "%s")
    622 FM/2:  Rename application
    623 FM/2:  Copy application
    624 FM/2:  Rename keyword
    625 FM/2:  Copy keyword
     622FM/2: Rename application
     623FM/2: Copy application
     624FM/2: Rename keyword
     625FM/2: Copy keyword
    626626Requested user profile "%s" can't be opened.
    627627Requested system profile "%s" can't be opened.
    628628PrfReset failed.
    629 FM/2:  Swap OS/2 INIs
     629FM/2: Swap OS/2 INIs
    630630PrfQueryProfile failed.
    631631Success!
    632 FM/2:  Edit INI entry
    633 Data appears to be binary.  The edit control does not support binary data directly. The data is probably not human-editable, but you can use \\-encoding if you know what you're doing.  WARNING:  Clicking Okay or pressing [Enter] can result in data loss.  Press [Escape] to avoid possible loss!
     632FM/2: Edit INI entry
     633Data appears to be binary. The edit control does not support binary data directly. The data is probably not human-editable, but you can use \\-encoding if you know what you're doing.  WARNING:  Clicking Okay or pressing [Enter] can result in data loss.  Press [Escape] to avoid possible loss!
    634634App/keyname pair already exists in the INI file.
    635635Applications:
     
    640640Do you want to delete keyname "%s"?
    641641Do you want to delete application "%s"?
    642 FM/2 Cheap Internal INI Viewer\r\rCopyright (c) 1993-98 M. Kimes\r(Barebones Software)\rCopyright (c) 2001, 2006 Steven Levine and Associates, Inc.\rAll Rights Reserved
     642FM/2 Cheap Internal INI Viewer\r\rCopyright (c) 1993-98 M. Kimes\r(Barebones Software)\rCopyright (c) 2001, 2007 Steven Levine and Associates, Inc.\rAll Rights Reserved
    6436435.System VIO
    644644FM/2: INI "%s"
    645 Enter the characters to find.\r\rInput is case insensitive.  Leading\rspaces are not stripped. Find\rnexts are made after the current\ritem, find firsts always start at\rthe top.  Beep means no (more)\rmatches.
     645Enter the characters to find.\r\rInput is case insensitive. Leading\rspaces are not stripped. Find\rnexts are made after the current\ritem, find firsts always start at\rthe top.  Beep means no (more)\rmatches.
    646646String to find:
    647 FM/2:  Find INI string
     647FM/2: Find INI string
    648648  Mem:\32
    649649Wipe all lines
     
    658658Can't find this file.
    659659Must be run through command processor (i.e. "CMD.EXE /C ...")
    660 OS/2 says:  Not a directly executable type.
     660OS/2 says: Not a directly executable type.
    661661Acceptable apptype
    662662DOS
     
    688688Nothing printable selected.
    689689FM/2 drop help
    690 OS/2 won't let me query EA "%s" from "%s" because it can't get read/write access to it.  That means the object is in use by another program or OS/2, or is a running program itself.
    691 OS/2 won't let me assign EA "%s" on object "%s" because it can't get read/write access to it.  The object might be in use by another process or OS/2, or might itself be a running program.
     690OS/2 won't let me query EA "%s" from "%s" because it can't get read/write access to it. That means the object is in use by another program or OS/2, or is a running program itself.
     691OS/2 won't let me assign EA "%s" on object "%s" because it can't get read/write access to it. The object might be in use by another process or OS/2, or might itself be a running program.
    692692Error setting EA "%s" on object "%s" offset %ld
    693693Error querying EA "%s"
    694694%s%s%s%s%s%s\rNote that only the List, Create and Extract commands were checked.
    695 List exe not found!  Are path and filename right?\r
     695List exe not found! Are path and filename right?\r
    696696OS/2 bombed checking list exe.\r
    697697Bad list exe!\r
     
    743743
    744744
    745 FM/2:  Default DirCnr filter
    746 FM/2:  Default Collector filter
     745FM/2: Default DirCnr filter
     746FM/2: Default Collector filter
    747747Don't forget...
    748748The System Menu contains the command to unhide the pulldown menu.
     
    804804are
    805805is
    806 FM/2:  Execute do-it-yourself command line
     806FM/2: Execute do-it-yourself command line
    807807Making objects...
    808808Made objects...
     
    847847%%Environment%%
    848848You must check at least one criterion or Cancel the operation.
    849 FM/2:  Trouble...
     849FM/2: Trouble...
    850850Can't load help.%s
    851851  I'll continue, but you should find FM3.HLP and place it into FM/2's working directory.
     
    941941Date
    942942Dropping here can set the command line.
    943 FM/2:  Executing a Command
     943FM/2: Executing a Command
    944944<Unknown>
    945945Attach request
     
    969969No window
    9709702.System VIO
    971 FM/2:  Makearc\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32
     971FM/2: Makearc\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32\32
    972972Usage:\r\rMAKEARC <file or directory to archive>\r
    973973Unable to load FM3RES.DLL
     
    979979opened
    980980all
    981 FM/2:  Walk to Target directory%s%s%s
     981FM/2: Walk to Target directory%s%s%s
    982982Clear Target directory?
    983983Do you want to clear the Target directory (in other words, have no preset Target directory)?
  • trunk/dll/fm3str.h

    r552 r593  
    1414  15 Aug 06 SHL Add new
    1515  07 JAN 07 GKY Add new
     16  31 Mar 07 GKY Removed IDS_WC window class names
    1617
    1718***********************************************************************/
     
    7374#define IDS_EDITTEXT                                          48
    7475#define IDS_10SYSPROTEXT                                      49
    75 #define IDS_WCOBJECTWINDOW                                    50
    76 #define IDS_WCBUBBLE                                          51
    7776#define IDS_8HELVTEXT                                         52
    7877#define IDS_6HELVTEXT                                         53
    79 #define IDS_WCTOOLBUTTONS                                     54
    80 #define IDS_WCDRIVEBUTTONS                                    55
    8178#define IDS_HELPCMDTEXT                                       56
    8279#define IDS_FM2TEMPTEXT                                       57
     
    109106#define IDS_RESCANSUGGESTEDTEXT                               84
    110107#define IDS_DRIVESMENUTEXT                                    85
    111 #define IDS_WCDIRCONTAINER                                    86
    112 #define IDS_WCDIRSTATUS                                       87
    113 #define IDS_WCTREECONTAINER                                   88
    114 #define IDS_WCTREEOPENBUTTON                                  89
    115 #define IDS_WCTREESTATUS                                      90
    116 #define IDS_WCMAINWND                                         91
    117 #define IDS_WCMAINWND2                                        92
    118108#define IDS_OPENCMDTEXT                                       93
    119109#define IDS_CLOSECMDTEXT                                      94
     
    125115#define IDS_FM2CMDHELPHDRTEXT                                 100
    126116#define IDS_FM2CMDHELPTEXT                                    101
    127 #define IDS_WCAUTOVIEW                                        102
    128 #define IDS_WCLED                                             103
    129117#define IDS_8HELVBOLDTEXT                                     104
    130118#define IDS_4SYSTEMVIOTEXT                                    105
     
    138126#define IDS_INSEEKSCANTEXT                                    115
    139127#define IDS_COLLECTORTEXT                                     116
    140 #define IDS_WCCOLLECTOR                                       117
    141128#define IDS_COLLECTORTITLETEXT                                118
    142 #define IDS_WCCOLSTATUS                                       119
    143 #define IDS_WCSTATUS                                          120
    144 #define IDS_WCTOOLBACK                                        121
    145 #define IDS_WCDRIVEBACK                                       122
    146129#define IDS_ARCHIVERREPORTTEXT                                123
    147130#define IDS_SAYWHATTEXT                                       124
     
    177160#define IDS_DRAGARCMEMTEXT                                    154
    178161#define IDS_DRAGARCFILETEXT                                   155
    179 #define IDS_WCARCCONTAINER                                    156
    180 #define IDS_WCARCSTATUS                                       157
    181162#define IDS_WALKDEFAULTHELPTEXT                               158
    182163#define IDS_WALKRECENTDIRSTEXT                                159
     
    317298#define IDS_INIREADONLYTEXT                                   294
    318299#define IDS_FM2HELPTITLETEXT                                  295
    319 #define IDS_WCMLEEDITOR                                       296
    320 #define IDS_WCINIEDITOR                                       297
    321 #define IDS_WCSEEALL                                          298
    322 #define IDS_WCNEWVIEW                                         299
    323 #define IDS_WCSEESTATUS                                       300
    324 #define IDS_WCVIEWSTATUS                                      301
    325300#define IDS_SEEALLTITLETEXT                                   302
    326301#define IDS_UNTITLEDTEXT                                      303
    327302#define IDS_INTERNALVIEWERTITLETEXT                           304
    328303#define IDS_FM2VIEWERTITLETEXT                                305
    329 #define IDS_WCERRORWND                                        306
    330 #define IDS_WCMINITIME                                        307
    331 #define IDS_WCDATABAR                                         308
    332304#define IDS_ARCHIVETEXT                                       309
    333305#define IDS_ERRORACCESSTEXT                                   310
  • trunk/dll/inis.c

    r574 r593  
    1515  03 Nov 06 SHL Count thread usage
    1616  22 Mar 07 GKY Use QWL_USER
     17  30 Mar 07 GKY Remove GetPString for window class names
    1718
    1819***********************************************************************/
     
    14361437                                 0,
    14371438                                 &flFrameFlags,
    1438                                  GetPString(IDS_WCINIEDITOR),
     1439                                 WC_INIEDITOR,
    14391440                                 NullStr,
    14401441                                 fwsAnimate,
  • trunk/dll/init.c

    r555 r593  
    2121  22 Oct 06 GKY Add NDFS32 support
    2222  18 Feb 07 GKY Add ISOFS, RAMFS support
     23  30 Mar 07 GKY Defined golbals for removing GetPString for window class names
    2324
    2425***********************************************************************/
     
    221222    RAMFS = "RAMFS";
    222223    NTFS = "NTFS";
     224    WC_OBJECTWINDOW    =  "WC_OBJECTWINDOW";
     225    WC_BUBBLE          =  "WC_BUBBLE";
     226    WC_TOOLBUTTONS     =  "WC_TOOLBUTTONS";
     227    WC_DRIVEBUTTONS    =  "WC_DRIVEBUTTONS";
     228    WC_DIRCONTAINER    =  "WC_DIRCONTAINER";
     229    WC_DIRSTATUS       =  "WC_DIRSTATUS";
     230    WC_TREECONTAINER   =  "WC_TREECONTAINER";
     231    WC_TREEOPENBUTTON  =  "WC_TREEOPENBUTTON";
     232    WC_TREESTATUS      =  "WC_TREESTATUS";
     233    WC_MAINWND         =  "WC_MAINWND";
     234    WC_MAINWND2        =  "WC_MAINWND2";
     235    WC_AUTOVIEW        =  "WC_AUTOVIEW";
     236    WC_LED             =  "WC_LED";
     237    WC_COLLECTOR       =  "WC_COLLECTOR";
     238    WC_COLSTATUS       =  "WC_COLSTATUS";
     239    WC_STATUS          =  "WC_STATUS";
     240    WC_TOOLBACK        =  "WC_TOOLBACK";
     241    WC_DRIVEBACK       =  "WC_DRIVEBACK";
     242    WC_ARCCONTAINER    =  "WC_ARCCONTAINER";
     243    WC_ARCSTATUS       =  "WC_ARCSTATUS";
     244    WC_MLEEDITOR       =  "WC_MLEEDITOR";
     245    WC_INIEDITOR       =  "WC_INIEDITOR";
     246    WC_SEEALL          =  "WC_SEEALL";
     247    WC_NEWVIEW         =  "WC_NEWVIEW";
     248    WC_SEESTATUS       =  "WC_SEESTATUS";
     249    WC_VIEWSTATUS      =  "WC_VIEWSTATUS";
     250    WC_ERRORWND        =  "WC_ERRORWND";
     251    WC_MINITIME        =  "WC_MINITIME";
     252    WC_DATABAR         =  "WC_DATABAR";
     253
    223254    /* end of strings */
    224255    memset(&RGBBLACK, 0, sizeof(RGB2));
     
    624655  /* register window classes we use */
    625656  WinRegisterClass(hab,
    626                    GetPString(IDS_WCMAINWND),
     657                   WC_MAINWND,
    627658                   MainWndProc,
    628659                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID) * 8);
    629660  WinRegisterClass(hab,
    630                    GetPString(IDS_WCMAINWND2),
     661                   WC_MAINWND2,
    631662                   MainWndProc2,
    632663                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID) * 4);
    633664  WinRegisterClass(hab,
    634                    GetPString(IDS_WCTREECONTAINER),
     665                   WC_TREECONTAINER,
    635666                   TreeClientWndProc,
    636667                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID) * 2);
    637668  WinRegisterClass(hab,
    638                    GetPString(IDS_WCDIRCONTAINER),
     669                   WC_DIRCONTAINER,
    639670                   DirClientWndProc,
    640671                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID) * 2);
    641672  WinRegisterClass(hab,
    642                    GetPString(IDS_WCCOLLECTOR),
     673                   WC_COLLECTOR,
    643674                   CollectorClientWndProc,
    644675                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID) * 2);
    645676  WinRegisterClass(hab,
    646                    GetPString(IDS_WCARCCONTAINER),
     677                   WC_ARCCONTAINER,
    647678                   ArcClientWndProc,
    648679                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID) * 2);
    649680  WinRegisterClass(hab,
    650                    GetPString(IDS_WCMLEEDITOR),
     681                   WC_MLEEDITOR,
    651682                   MLEEditorProc,
    652683                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID) * 2);
    653684  WinRegisterClass(hab,
    654                    GetPString(IDS_WCINIEDITOR),
     685                   WC_INIEDITOR,
    655686                   IniProc,
    656687                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID) * 2);
    657688  WinRegisterClass(hab,
    658                    GetPString(IDS_WCTOOLBACK),
     689                   WC_TOOLBACK,
    659690                   ToolBackProc, CS_SIZEREDRAW, sizeof(PVOID));
    660691  WinRegisterClass(hab,
    661                    GetPString(IDS_WCDRIVEBACK),
     692                   WC_DRIVEBACK,
    662693                   DriveBackProc,
    663694                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    664695                   sizeof(PVOID));
    665696  WinRegisterClass(hab,
    666                    GetPString(IDS_WCSEEALL),
     697                   WC_SEEALL,
    667698                   SeeAllWndProc,
    668699                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID));
    669700  WinRegisterClass(hab,
    670                    GetPString(IDS_WCNEWVIEW),
     701                   WC_NEWVIEW,
    671702                   ViewWndProc,
    672703                   CS_SIZEREDRAW | CS_CLIPCHILDREN, sizeof(PVOID));
    673704  WinRegisterClass(hab,
    674                    GetPString(IDS_WCTOOLBUTTONS),
     705                   WC_TOOLBUTTONS,
    675706                   ChildButtonProc,
    676707                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    677708                   sizeof(PVOID));
    678709  WinRegisterClass(hab,
    679                    GetPString(IDS_WCDRIVEBUTTONS),
     710                   WC_DRIVEBUTTONS,
    680711                   DriveProc,
    681712                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    682713                   sizeof(PVOID));
    683714  WinRegisterClass(hab,
    684                    GetPString(IDS_WCBUBBLE),
     715                   WC_BUBBLE,
    685716                   BubbleProc,
    686717                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    687718                   sizeof(ULONG) * 2);
    688719  WinRegisterClass(hab,
    689                    GetPString(IDS_WCSTATUS),
     720                   WC_STATUS,
    690721                   StatusProc,
    691722                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    692723                   sizeof(ULONG));
    693724  WinRegisterClass(hab,
    694                    GetPString(IDS_WCDIRSTATUS),
     725                   WC_DIRSTATUS,
    695726                   DirTextProc,
    696727                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    697728                   sizeof(ULONG));
    698729  WinRegisterClass(hab,
    699                    GetPString(IDS_WCTREESTATUS),
     730                   WC_TREESTATUS,
    700731                   TreeStatProc,
    701732                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    702733                   sizeof(ULONG));
    703734  WinRegisterClass(hab,
    704                    GetPString(IDS_WCARCSTATUS),
     735                   WC_ARCSTATUS,
    705736                   ArcTextProc,
    706737                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    707738                   sizeof(ULONG));
    708739  WinRegisterClass(hab,
    709                    GetPString(IDS_WCCOLSTATUS),
     740                   WC_COLSTATUS,
    710741                   CollectorTextProc,
    711742                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    712743                   sizeof(ULONG));
    713744  WinRegisterClass(hab,
    714                    GetPString(IDS_WCSEESTATUS),
     745                   WC_SEESTATUS,
    715746                   SeeStatusProc,
    716747                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    717748                   sizeof(ULONG));
    718749  WinRegisterClass(hab,
    719                    GetPString(IDS_WCVIEWSTATUS),
     750                   WC_VIEWSTATUS,
    720751                   ViewStatusProc,
    721752                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    722753                   sizeof(ULONG));
    723754  WinRegisterClass(hab,
    724                    GetPString(IDS_WCERRORWND),
     755                   WC_ERRORWND,
    725756                   NotifyWndProc,
    726757                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    727758                   sizeof(PVOID));
    728759  WinRegisterClass(hab,
    729                    GetPString(IDS_WCMINITIME),
     760                   WC_MINITIME,
    730761                   MiniTimeProc,
    731762                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    732763                   sizeof(PVOID) * 2);
    733764  WinRegisterClass(hab,
    734                    GetPString(IDS_WCDATABAR),
     765                   WC_DATABAR,
    735766                   DataProc, CS_SIZEREDRAW, sizeof(PVOID));
    736767  WinRegisterClass(hab,
    737                    GetPString(IDS_WCTREEOPENBUTTON),
     768                   WC_TREEOPENBUTTON,
    738769                   OpenButtonProc,
    739770                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    740771                   sizeof(PVOID));
    741772  WinRegisterClass(hab,
    742                    GetPString(IDS_WCAUTOVIEW),
     773                   WC_AUTOVIEW,
    743774                   AutoViewProc,
    744775                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    745776                   sizeof(PVOID));
    746777  WinRegisterClass(hab,
    747                    GetPString(IDS_WCLED),
     778                   WC_LED,
    748779                   LEDProc,
    749780                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
     
    12071238                                 WS_VISIBLE,
    12081239                                 &FrameFlags,
    1209                                  GetPString(IDS_WCMAINWND),
     1240                                 WC_MAINWND,
    12101241                                 NULL,
    12111242                                 WS_VISIBLE | WS_ANIMATE,
  • trunk/dll/mainwnd.c

    r558 r593  
    2727  08 Mar 07 SHL SaveDirCnrState: do not save state of NOPRESCAN volumes
    2828  09 Mar 07 SHL RestoreDirCnrState/SaveDirCnrState: optimize and avoid overflows
     29  30 Mar 07 GKY Remove GetPString for window class names
    2930
    3031***********************************************************************/
     
    209210      DosError(FERR_DISABLEHARDERR);
    210211      WinRegisterClass(hab2,
    211                        GetPString(IDS_WCOBJECTWINDOW),
     212                       (PSZ) WC_OBJECTWINDOW,
    212213                       MainObjectWndProc, 0, sizeof(PVOID));
    213214      MainObjectHwnd = WinCreateWindow(HWND_OBJECT,
    214                                        GetPString(IDS_WCOBJECTWINDOW),
     215                                       WC_OBJECTWINDOW,
    215216                                       (PSZ) NULL,
    216217                                       0,
     
    721722
    722723  hwndBubble = WinCreateWindow(HWND_DESKTOP,
    723                                GetPString(IDS_WCBUBBLE),
     724                               WC_BUBBLE,
    724725                               help,
    725726                               WS_CLIPSIBLINGS | SS_TEXT |
     
    12821283      if (!(tool->flags & T_MYICON)) {
    12831284        hwndTool = WinCreateWindow(hwndT,
    1284                                    GetPString(IDS_WCTOOLBUTTONS),
     1285                                   WC_TOOLBUTTONS,
    12851286                                   s,
    12861287                                   BS_NOPOINTERFOCUS |
     
    13011302          btc.hImage = hbm;
    13021303          hwndTool = WinCreateWindow(hwndT,
    1303                                      GetPString(IDS_WCTOOLBUTTONS),
     1304                                     WC_TOOLBUTTONS,
    13041305                                     NullStr,
    13051306                                     BS_NOPOINTERFOCUS |
     
    13191320    if (!hwndTool) {
    13201321      hwndTool = WinCreateWindow(hwndT,
    1321                                  GetPString(IDS_WCTOOLBUTTONS),
     1322                                 WC_TOOLBUTTONS,
    13221323                                 (!tool->text && tool->id >= IDM_COMMANDSTART
    13231324                                  && tool->id <
     
    18161817                               hwndMain,
    18171818                               DropListProc,
    1818                                FM3ModHandle, DND_FRAME, MPFROMP(&cl));
    1819           if (!li->type) {
     1819                               FM3ModHandle, DND_FRAME, MPFROMP(&cl));
     1820          if (li->type == DID_ERROR)
     1821                  Win_Error(DND_FRAME, HWND_DESKTOP, pszSrcFile, __LINE__,
     1822                            "Drag & Drop Dialog");
     1823          if (!li->type) {
    18201824            FreeListInfo(li);
    18211825            return 0;
    18221826          }
    18231827          li->list = cl.list;
    1824           if (!li->list || !li->list[0]) {
     1828          if (!li->list || !li->list[0]) {
    18251829            FreeListInfo(li);
    18261830            return 0;
     
    19711975        sprintf(s, "#%lu", iconid);
    19721976        hwndB = WinCreateWindow(hwndT,
    1973                                 GetPString(IDS_WCDRIVEBUTTONS),
     1977                                WC_DRIVEBUTTONS,
    19741978                                s,
    19751979                                BS_NOPOINTERFOCUS | BS_BITMAP | BS_PUSHBUTTON,
  • trunk/dll/mainwnd2.c

    r574 r593  
    1515  02 Jan 06 SHL Map IDM_WINDOWDLG to match IBM_TWODIRS
    1616  17 Jul 06 SHL Use Runtime_Error
    17 
     17  30 Mar 07 GKY Remove GetPString for window class names
    1818***********************************************************************/
    1919
     
    13691369                                 WS_VISIBLE,
    13701370                                 &FrameFlags,
    1371                                  GetPString(IDS_WCMAINWND2),
     1371                                 WC_MAINWND2,
    13721372                                 NULL,
    13731373                                 WS_VISIBLE | WS_ANIMATE,
  • trunk/dll/newview.c

    r574 r593  
    1919  03 Nov 06 SHL Count thread usage
    2020  22 Mar 07 GKY Use QWL_USER
     21  30 Mar 07 GKY Remove GetPString for window class names
    2122
    2223***********************************************************************/
     
    17101711                   MPFROM2SHORT(1, 1));
    17111712        ad->hwndStatus1 = WinCreateWindow(hwndFrame,
    1712                                           GetPString(IDS_WCVIEWSTATUS),
     1713                                          WC_VIEWSTATUS,
    17131714                                          GetPString(IDS_LOADINGTEXT),
    17141715                                          WS_VISIBLE | SS_TEXT |
     
    17261727
    17271728        ad->hwndStatus2 = WinCreateWindow(hwndFrame,
    1728                                           GetPString(IDS_WCVIEWSTATUS),
     1729                                          WC_VIEWSTATUS,
    17291730                                          NULL,
    17301731                                          WS_VISIBLE | SS_TEXT |
     
    17421743
    17431744        ad->hwndStatus3 = WinCreateWindow(hwndFrame,
    1744                                           GetPString(IDS_WCVIEWSTATUS),
     1745                                          WC_VIEWSTATUS,
    17451746                                          NULL,
    17461747                                          WS_VISIBLE | SS_TEXT |
     
    17731774
    17741775        ad->hwndDrag = WinCreateWindow(hwndFrame,
    1775                                        GetPString(IDS_WCVIEWSTATUS),
     1776                                       WC_VIEWSTATUS,
    17761777                                       "#100",
    17771778                                       WS_VISIBLE | SS_BITMAP,
     
    38163817                                 0,
    38173818                                 &FrameFlags,
    3818                                  GetPString(IDS_WCNEWVIEW),
     3819                                 WC_NEWVIEW,
    38193820                                 GetPString(IDS_FM2VIEWERTITLETEXT),
    38203821                                 fwsAnimate,
  • trunk/dll/notify.c

    r551 r593  
    1111  17 Jul 06 SHL Use Win_Error
    1212  22 Jul 06 SHL Check more run time errors
     13  30 Mar 07 GKY Remove GetPString for window class names
    1314
    1415***********************************************************************/
     
    183184
    184185    hwnd = WinCreateWindow(hwndP,
    185                            GetPString(IDS_WCERRORWND),
     186                           WC_ERRORWND,
    186187                           p,
    187188                           SS_TEXT | DT_LEFT | DT_VCENTER | WS_VISIBLE,
  • trunk/dll/objwin.c

    r551 r593  
    1111  26 Jul 06 SHL Check more run time errors
    1212  02 Nov 06 SHL Comments
     13  30 Mar 07 GKY Remove GetPString for window class names
    1314
    1415***********************************************************************/
     
    6768      DosError(FERR_DISABLEHARDERR);
    6869      WinRegisterClass(hab2,
    69                        GetPString(IDS_WCOBJECTWINDOW),
     70                       WC_OBJECTWINDOW,
    7071                       ObjectWndProc, 0, sizeof(PVOID));
    7172      ObjectHwnd = WinCreateWindow(HWND_OBJECT,
    72                                    GetPString(IDS_WCOBJECTWINDOW),
     73                                   WC_OBJECTWINDOW,
    7374                                   (PSZ) NULL,
    7475                                   0,
  • trunk/dll/seeall.c

    r551 r593  
    2121  03 Nov 06 SHL Renames
    2222  03 Nov 06 SHL Count thread usage
     23  30 Mar 07 GKY Remove GetPString for window class names
    2324
    2425***********************************************************************/
     
    11371138        DosError(FERR_DISABLEHARDERR);
    11381139        WinRegisterClass(hab2,
    1139                          GetPString(IDS_WCOBJECTWINDOW),
     1140                         WC_OBJECTWINDOW,
    11401141                         SeeObjWndProc, 0, sizeof(PVOID));
    11411142        hwndObj = WinCreateWindow(HWND_OBJECT,
    1142                                   GetPString(IDS_WCOBJECTWINDOW),
     1143                                  WC_OBJECTWINDOW,
    11431144                                  (PSZ) NULL,
    11441145                                  0,
     
    25152516        if (!DosCreateMutexSem(NULL, &pAD->hmtxScan, 0L, FALSE)) {
    25162517          pAD->hwndStatus = WinCreateWindow(hwndFrame,
    2517                                             GetPString(IDS_WCSEESTATUS),
     2518                                            WC_SEESTATUS,
    25182519                                            NullStr,
    25192520                                            WS_VISIBLE | SS_TEXT |
     
    42404241                                 WS_VISIBLE,
    42414242                                 &FrameFlags,
    4242                                  GetPString(IDS_WCSEEALL),
     4243                                 WC_SEEALL,
    42434244                                 GetPString(IDS_SEEALLTITLETEXT),
    42444245                                 WS_VISIBLE | fwsAnimate,
  • trunk/dll/treecnr.c

    r557 r593  
    2525  08 Mar 07 SHL Ensure drive icon updates after drive flags change
    2626  09 Mar 07 GKY Use SelectDriveIcon
     27  30 Mar 07 GKY Remove GetPString for window class names
    2728
    2829***********************************************************************/
     
    13891390                                   dcd->hwndParent,
    13901391                                   DropListProc,
    1391                                    FM3ModHandle, DND_FRAME, MPFROMP(&cl));
    1392               if (!li->type) {
     1392                                   FM3ModHandle, DND_FRAME, MPFROMP(&cl));
     1393              if (li->type == DID_ERROR)
     1394                  Win_Error(hwnd, HWND_DESKTOP, pszSrcFile, __LINE__,
     1395                            "Drag & Drop Dialog");
     1396              if (!li->type) {
    13931397                FreeListInfo(li);
    13941398                return 0;
    13951399              }
    13961400              li->list = cl.list;
    1397               if (!li->list || !li->list[0]) {
     1401              if (!li->list || !li->list[0]) {
    13981402                FreeListInfo(li);
    13991403                return 0;
     
    29002904                                 WS_VISIBLE,
    29012905                                 &FrameFlags,
    2902                                  GetPString(IDS_WCTREECONTAINER),
     2906                                 WC_TREECONTAINER,
    29032907                                 NULL,
    29042908                                 WS_VISIBLE | fwsAnimate,
     
    29172921      if (*(ULONG *) realappname == FM3UL) {
    29182922        if (!WinCreateWindow(hwndFrame,
    2919                              GetPString(IDS_WCTREEOPENBUTTON),
     2923                             WC_TREEOPENBUTTON,
    29202924                             "O",
    29212925                             WS_VISIBLE | BS_PUSHBUTTON | BS_NOPOINTERFOCUS,
     
    29412945      else {
    29422946        if (!WinCreateWindow(hwndFrame,
    2943                              GetPString(IDS_WCTREESTATUS),
     2947                             WC_TREESTATUS,
    29442948                             GetPString(IDS_YOUAREHERETEXT),
    29452949                             WS_VISIBLE | SS_TEXT | DT_LEFT | DT_VCENTER,
  • trunk/dll/viewer.c

    r551 r593  
    1212  17 Jul 06 SHL Use Runtime_Error
    1313  31 Aug 06 SHL Sync with disable_menuitem changes
     14  30 Mar 07 GKY Remove GetPString for window class names
    1415
    1516***********************************************************************/
     
    9798                                 WS_VISIBLE,
    9899                                 &flFrameFlags,
    99                                  GetPString(IDS_WCMLEEDITOR),
     100                                 WC_MLEEDITOR,
    100101                                 NullStr,
    101102                                 WS_VISIBLE | fwsAnimate,
Note: See TracChangeset for help on using the changeset viewer.