|
-
October 9th, 1999, 04:13 PM
#1
How to make the help menu items active after a modal dialog is displayed?
-
October 12th, 1999, 11:07 AM
#2
Re: How to make the help menu items active after a modal dialog is displayed?
Hi (try Jack be Nimble ;-))
OK,
i think you mean the menu items of a frame window.
Then you can enable it with
CMenu* pMenu = ((CFrameWnd*)AfxGetMainWnd())->GetMenu();
//((CFrameWnd*)AfxGetMainWnd())->m_bAutoMenuEnable=FALSE;
pMenu->EnableMenuItem(IDM_MYHELPID,MF_ENABLED);
m_bAutoMenuEnable is use by Microsoft, for automaic disabling menuentries, ... if no corresponding command handler exists
Gerd
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|