Re: disabling all menu and its sub menus
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Wed, 01 Jun 2005 22:44:04 -0400
The only problem is that it can't, as far as I know, enable/disable top-level menu items,
because they do not have menu IDs.
joe
On Wed, 1 Jun 2005 21:06:11 -0400, "Ajay Kalra" <ajaykalra@xxxxxxxxx> wrote:
>If you are using MFC and the menu is attached to a CFrameWnd derived
>class(eg CMainFrame), it uses ON_UPDATE_COMMAND_UI mechanism to
>enable/disable menu items. This overrides whatever you are doing for menu
>items.
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: disabling all menu and its sub menus
- From: Manikandan
- Re: disabling all menu and its sub menus
- References:
- disabling all menu and its sub menus
- From: Manikandan
- Re: disabling all menu and its sub menus
- From: Ajay Kalra
- disabling all menu and its sub menus
- Prev by Date: Text and Button
- Next by Date: Re: Text and Button
- Previous by thread: Re: disabling all menu and its sub menus
- Next by thread: Re: disabling all menu and its sub menus
- Index(es):