Changeset 875 for trunk/dll/init.c


Ignore:
Timestamp:
Nov 24, 2007, 12:14:45 AM (18 years ago)
Author:
Gregg Young
Message:

Used global variable to link presparams to main menu window for both drop down and pop up menus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r860 r875  
    11641164  size = sizeof(extractpath);
    11651165  PrfQueryProfileData(fmprof, appname, "ExtractPath", extractpath, &size);
    1166   if (!IsValidDir(extractpath))
    1167     *extractpath = 0;
     1166  //if (!IsValidDir(extractpath))
     1167  //  *extractpath = 0;
    11681168  size = sizeof(printer);
    11691169  PrfQueryProfileData(fmprof, appname, "Printer", printer, &size);
     
    13691369  if (hwndFrame) {
    13701370    WinSetWindowUShort(hwndFrame, QWS_ID, MAIN_FRAME);
     1371    hwndMainMenu = WinWindowFromID(hwndFrame, FID_MENU);
    13711372    if (!WinRestoreWindowPos(FM2Str, "MainWindowPos", hwndFrame)) {
    13721373
Note: See TracChangeset for help on using the changeset viewer.