mikeljj
asked on
GRAYED Menu Items
I am aware of the EnabledMenuItem fuction which takes three parameters. How to a get the handler of the default menu??
The other two parameters are self explanatory.
The other two parameters are self explanatory.
GetMenu() will return a pointer to the windows menu. (Call this in CMainFrame if you want to get the app manu).
ASKER
piano boxer, can I call this from CView??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
CMenu menu;
if (menu.LoadMenu(IDR_MY_MENU
{
menu.EnableMenuItem(nIDEna
}