CFrameWnd::GetMenuBarState
Visual Studio 2012
Retrieves the display state of the menu in the current MFC application.
virtual DWORD GetMenuBarState();
If a runtime error occurs, this method asserts in Debug mode and raises an exception derived from the CException class.