共用方式為


CHtmlView::GetAddressBar

Call this member function to retrieve Internet Explorer's address bar.

BOOL GetAddressBar( ) const;

Return Value

Nonzero if the address bar is visible; 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::SetAddressBar

IWebBrowser2::get_AddressBar

Other Resources

CHtmlView Members