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


CHtmlView::SetRegisterAsBrowser

Call this member function to set a value indicating whether the WebBrowser control is registered as a top-level browser for target name resolution.

void SetRegisterAsBrowser(
   BOOL bNewValue 
);

Параметры

  • bNewValue
    Determines whether Internet Explorer is registered as a top-level browser. If nonzero, the web browser is registered as a top-level browser; if zero, it is not a top-level browser. The default value is zero.

Заметки

A top-level browser is the browser set in the registry as the default browser.

Applies to Internet Explorer and WebBrowser.

Требования

Header: afxhtml.h

См. также

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

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::GetRegisterAsBrowser

IWebBrowser2::put_RegisterAsBrowser