Changeset 872 for trunk/dll/mainwnd.c


Ignore:
Timestamp:
Nov 23, 2007, 12:11:21 AM (18 years ago)
Author:
Gregg Young
Message:

Fix failure of font changes and font colors on main menus (tickets 27 & 162)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd.c

    r847 r872  
    4242  19 Aug 07 SHL Rework SaveDirCnrState to return better error info
    4343  30 Aug 07 SHL Add accelerator support to quicklist windows
     44  22 Nov 07 GKY Use CopyPresParams to fix presparam inconsistencies in menus
    4445
    4546***********************************************************************/
     
    12681269      hwndMenu = WinLoadMenu(hwnd, FM3ModHandle, ID_BUTTONMENU);
    12691270    DosExitCritSec();
    1270     SetPresParams(hwndMenu, NULL, NULL, NULL, GetPString(IDS_10SYSPROTEXT));
     1271    // SetPresParams(hwndMenu, NULL, NULL, NULL, GetPString(IDS_10SYSPROTEXT));
    12711272    if (PopupMenu(hwnd, hwnd, hwndMenu))
    12721273      WinShowWindow(hwndMenu, TRUE);
     
    21792180
    21802181      SetPresParams(hwnd,
    2181                     &RGBGREY,
    2182                     &RGBBLACK, &RGBGREY, GetPString(IDS_8HELVBOLDTEXT));
     2182                    &RGBGREY,
     2183                    &RGBBLACK, &RGBGREY, GetPString(IDS_8HELVBOLDTEXT));
    21832184      return mr;
    21842185    }
     
    54455446  case UM_CONTEXTMENU:
    54465447  case WM_CONTEXTMENU:
    5447     if (CheckMenu(&MainPopupMenu, MAIN_POPUP)) {
     5448    if (CheckMenu(hwnd, &MainPopupMenu, MAIN_POPUP)) {
    54485449      SetToggleChecks(MainPopupMenu);
    54495450      PopupMenu(hwnd, hwnd, MainPopupMenu);
Note: See TracChangeset for help on using the changeset viewer.