|
Support
ActiveX / COM
Visual C++ / MFC
Customer Spotlight
Corporate Partners
Contact Sales
Call center available M-F 9:00 - 6:00 US Eastern Time. U.S. and Canada International Email |
Creating an Intelligent Menu\Add a "Infrequently used Command"
Author: Mike Palmatier
Posted: January 31, 2006
Environment: Visual Basic 6.0
An Intelligent Menu is a menu that has "Infrequently used Commands" that remain hidden when the popup menu is displayed. The infrequently
used commands will remain hidden for a short delay or until the user clicks on the chevron button
CommandBars.Options.AlwaysShowFullMenus = False CommandBars.Options.AddHiddenCommand (ID_FILE_SAVE) CommandBars.Options.AddHiddenCommand (ID_FILE_CLOSE) CommandBars.Options.AddHiddenCommand (ID_FILE_SAVE_AS) |

at the bottom of the menu to fully display the menu.
This should function similar to the Windows Start Menu.