|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Trupti Kasvala
|
Jan 8, 2009 - 10:17 PM
|
Hello sir, I want eanble/Disable commands without using command updating handler. How is it possible? Waiting for your early reply. Trupti
|
|
Kristina Bell
|
Mar 11, 2021 - 7:15 AM
|
First, you will have to enable admin privileges for yourself. Then you will be prompted to accept or not. Select anything you like. Then go to settings and into the comments tab. There just uncheck the comment tab. click here now : https://cheap-essaywriting.com/
|
|
Technical Support
|
Jan 13, 2009 - 4:30 AM
|
Menu items can be disabled using classic MFC’s command updating mechanism. You should add the command updating methods for menu commands and enable/disable each of commands using the CCmdUI::Enable() method.
|
|
Trupti Kasvala
|
Jan 9, 2009 - 10:46 PM
|
Hello sir, How can i enable/disable in a menu items of menubar. which command is used for this. for toolbar button enable/disable i have to write flag for each command so its very long process can i get any short process. Waiting for your early reply. Trupti
|
|
Technical Support
|
Jan 9, 2009 - 8:34 AM
|
This feature is supported by popup menus. The popup menus can be constructed using the CExtPopupMenuWnd::ItemInsertCommand() method or the CExtPopupMenuWnd::LoadMenu() / CExtPopupMenuWnd::UpdateFromMenu() methods with the bNoRefToCmdMngr parameter set to true . Such popup menus contain menu command items which are not updated via MFC’s command updating mechanism.
The toolbar buttons are always updated via MFC’s command updating mechanism.
|
|
Trupti Kasvala
|
Jan 9, 2009 - 11:18 PM
|
Hello sir, How can i enable/disable in a menu items of menubar? which command is used for this.I am using CExtPopupMenuWnd:: UpdateFromCmdTreeNode(), What to do in this case? For toolbar buttons enable/disable i have to write flag for each command so its very long process can i get any short process. Waiting for your early reply. Trupti
|
|