CHtmlView::SetMenuBar

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

void SetMenuBar(
   BOOL bNewValue 
);

Parameters

  • bNewValue
    Nonzero to show menu bar; otherwise zero.

Remarks

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

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::GetMenuBar

IWebBrowser2::put_MenuBar