CHtmlView::SetRegisterAsBrowser

void SetRegisterAsBrowser( BOOL bNewValue );

Parameters

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.

Remarks

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

Applies to Internet Explorer and WebBrowser.

CHtmlView OverviewClass MembersHierarchy Chart

See Also   CHtmlView::GetRegisterAsBrowser, IWebBrowser2::put_RegisterAsBrowser