CHtmlView::SetFullScreen

Call this member function to set Internet Explorer to either full-screen or normal window mode.

void SetFullScreen(
   BOOL bNewValue 
);

Parameters

  • bNewValue
    Nonzero for full-screen mode; otherwise zero.

Remarks

In full-screen mode, the Internet Explorer main window is maximized and the status bar, toolbar, menu bar, and title bar are hidden.

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::GetFullScreen

CHtmlView::SetTheaterMode

IWebBrowser2::put_FullScreen