Changeset 552 for trunk/dll/common.c


Ignore:
Timestamp:
Mar 1, 2007, 7:24:47 AM (18 years ago)
Author:
Gregg Young
Message:

font cleanup; new image and archiver masks; messages moved to string file; new drive flags including David's icons mostly working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/common.c

    r551 r552  
    1313  15 Aug 06 SHL Use Dos_Error
    1414  03 Nov 06 SHL Rework thread usage count logic
     15  07 Jan 07 GKY Move error strings etc. to string file
     16  07 Jan 07 GKY Updated Helv font to vector font Helvetica
    1517
    1618***********************************************************************/
     
    139141    {
    140142      MRESULT rc;
    141       char font[] = "8.Helv";
    142143
    143144      rc = PFNWPStatic(hwnd, msg, mp1, mp2);
    144       switch (WinQueryWindowUShort(hwnd, QWS_ID)) {
     145      switch (WinQueryWindowUShort(hwnd, QWS_ID))
    145146      case DIR_SORT:
    146147      case DIR_VIEW:
    147148      case DIR_FILTER:
    148         *font = '7';
    149       }
    150       SetPresParams(hwnd, &RGBGREY, &RGBBLACK, &RGBBLACK, font);
     149
     150      SetPresParams(hwnd, &RGBGREY, &RGBBLACK, &RGBBLACK, GetPString(IDS_8HELVTEXT));
    151151      return rc;
    152152    }
     
    225225    break;
    226226  case IDM_DRVFLAGS:
     227    strcpy(dv, drive);                  // Must use original drive letter
    227228    if (WinDlgBox(HWND_DESKTOP,
    228229                  hwnd,
Note: See TracChangeset for help on using the changeset viewer.