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
CMenuand the sample to learn how to use
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