Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Manipulating Menus During Program Execution.
Use class CMenu to manipulate menus and menu items on the fly. CMenu encapsulates a Windows HMENU handle and supplies member functions for working with menus.
See the overview for class CMenu for details.