CHtmlView::SetMenuBar

void SetMenuBar( BOOL bNewValue );

Parameters

bNewValue

Nonzero to show menu bar; otherwise zero.

Remarks

Call this member function to show or hide the Internet Explorer menu bar.

Applies to Internet Explorer. If you use this call with a WebBrowser control, it will return no error, but it will ignore this call.

CHtmlView OverviewClass MembersHierarchy Chart

See Also   CHtmlView::GetMenuBar, IWebBrowser2::put_MenuBar