Unfortunatly CMenu object isn't a window so I can't call ShowWindow on it as you normally would with a Toolbar ie. CControlBar. Also the ON_UPDATE_COMMAND only works with individual items not the whole menu itself. And I'd rather remove it rather than just greying it out.
I've implemented the...
Does anyone know of a way to enable and disable the menu bar programatically. Say I want to start an application without the menu bar and after some hotkey enable the menu. I can do toolbars, they are controlbars, but not the menu bar. Thanks for any help.
Jeff
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.