CHtmlView::SetOffline

Call this member function to set a value indicating whether the WebBrowser control is currently operating in offline mode.

void SetOffline( 
   BOOL bNewValue  
);

Parameters

  • bNewValue
    Nonzero to read from the local cache; otherwise zero.

Remarks

In offline mode, the browser reads HTML pages from the local cache rather than from the source document.

Applies to Internet Explorer and WebBrowser.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

CHtmlView::GetOffline

IWebBrowser2::put_Offline