Changeset 1369 for trunk/dll/mainwnd.c


Ignore:
Timestamp:
Jan 3, 2009, 7:43:34 PM (17 years ago)
Author:
Gregg Young
Message:

Add check for p-rotectonly system to gray out dos/win commandline choices etc. Ticket 325 It also fixes problem with some drives not being scanned on startup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd.c

    r1364 r1369  
    57905790    CfgMenuInit(hwndMenu, FALSE);        // 14 Feb 08 SHL
    57915791    SetConditionalCascade(hwndMenu, IDM_COMMANDLINESUBMENU, IDM_COMMANDLINE);
     5792    if (fProtectOnly) {
     5793      WinEnableMenuItem(hwndMenu, IDM_DOSCOMMANDLINE, FALSE);
     5794      WinEnableMenuItem(hwndMenu, IDM_WINFULLSCREEN, FALSE);
     5795    }
    57925796    SetConditionalCascade(hwndMenu, IDM_TOOLSUBMENU, IDM_TOOLBAR);
    57935797    SetConditionalCascade(hwndMenu, IDM_AUTOVIEWSUBMENU, IDM_AUTOVIEW);
Note: See TracChangeset for help on using the changeset viewer.