Export (0) Print
Expand All

CFrameWnd::GetMenuBarState

Retrieves the display state of the menu in the current MFC application.

virtual DWORD GetMenuBarState();

The return value can have the following values:

  • AFX_MBS_VISIBLE (0x01) – The menu is visible.

  • AFX_MBS_HIDDEN (0x02) – The menu is hidden.

If a runtime error occurs, this method asserts in Debug mode and raises an exception derived from the CException class.

Header: afxwin.h

Show:
© 2014 Microsoft