BigDaddy
October 9th, 1999, 04:13 PM
Thank you!
|
Click to See Complete Forum and Search --> : How to make the help menu items active after a modal dialog is displayed? BigDaddy October 9th, 1999, 04:13 PM Thank you! Gerd Mayer October 12th, 1999, 11:07 AM 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 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |