共用方式為


Menus (MFC)

 

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 Menus (MFC).

MFC supplies two elements to help you work with menus:

  • Class CMenu for manipulating your program's menus at run time. Use the documentation for CMenu and the sample to learn how to use CMenu effectively.

  • A mechanism for updating menus and toolbar buttons: enabling or disabling them on the fly to suit current program conditions.

Visual C++ also provides a menu editor for creating and editing your program's menu resources.

What do you want to know more about

See Also

User Interface Elements