This project demonstrates how to use the CXlMenu class to add a menu with sub-menus to Excel's main application menu bar, and how to remove it again.
It also shows how to manipulate menus dynamically.
CXlMenu |
CXlMenu::Create |
CXlMenu::SetTexts |
CXlMenu::AddItem |
CXlMenu::Destroy |
CXllApp::OnXllOpen |
CXllApp::OnXllClose |
CXlMenu::DeleteItem |
CXlMenu::EnableItem |
CXlMenu::GetCallingMenu |
If you are using MS Developer Studio 6, then you should open the project file SubMenus.dsp.
If you are using MS Visual Studio .NET 2002, then you should open the solution file SubMenus.sln or the project file SubMenus.vcproj.
If you are using MS Visual Studio .NET 2003, then you should open the solution file SubMenus71.sln or the project file SubMenus71.vcproj.
If you are using MS Visual Studio 2005, then you should open the solution file SubMenus8.sln or the project file SubMenus8.vcproj.
List of Sample Projects
| Samples and Walkthroughs
| Simple menus sample