CFrameWnd::GetMenuBarState
Retrieves the display state of the menu in the current MFC application.
virtual DWORD GetMenuBarState();
Return Value
The return value can have the following values:
AFX_MBS_VISIBLE (0x01) – The menu is visible.
AFX_MBS_HIDDEN (0x02) – The menu is hidden.
Remarks
If a runtime error occurs, this method asserts in Debug mode and raises an exception derived from the CException class.
Requirements
Header: afxwin.h