Share via


CHtmlView::SetAddressBar

Call this member function to show or hide the Internet Explorer object's address bar.

void SetAddressBar( 
   BOOL bNewValue  
);

Parameters

  • bNewValue
    Nonzero to show address bar; otherwise zero.

Remarks

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

Reference

CHtmlView Class

Hierarchy Chart

CHtmlView::GetAddressBar

IWebBrowser2::put_AddressBar