Поделиться через


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 
);

Параметры

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

Заметки

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

Applies to Internet Explorer and WebBrowser.

Требования

Header: afxhtml.h

См. также

Основные понятия

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::GetOffline

IWebBrowser2::put_Offline