How to make the help menu items active after a modal dialog is displayed?
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