This data member contains a boolean value that specifies whether menu items that do not have ON_UPDATE_COMMAND_UI or ON_COMMAND handlers will be automatically disabled when the user pulls down a menu. When this data member is set to TRUE (which is the default), they will be automatically disabled.
BOOL m_bAutoMenuEnable;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFrameWnd Overview, CFrameWnd Data Members, Frame Windows and Splitter Windows, CCmdUI, CCmdTarget