CFrameWnd::SetMenuBarState
Visual Studio 2012
Sets the display state of the menu in the current MFC application to hidden or displayed.
virtual BOOL SetMenuBarState(
DWORD nState
);
|
Parameter |
Description |
|---|---|
|
[in] nState |
Specifies whether to display or hide the menu. The nState parameter can have the following values:
|
If a runtime error occurs, this method asserts in Debug mode and raises an exception derived from the CException class.