Retrieves the display state of the menu in the current MFC application.
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.