Export (0) Print
Expand All

ShowBrowserBar Method

Shows or hides a specified browser bar.

Syntax

        object.ShowBrowserBar( _
    vClsID As Variant, _
    [bShow As Variant,] _
    vSize As Variant)

Parameters

vClsID
A String that specifies the class identifier of the browser bar to show or hide. This object must be registered as an Explorer Bar object with the CATID_InfoBand component category.
Or, A Integer that specifies one of the following.

&H0009s
Address bar. This value is ignored by Windows Internet Explorer 7.
&H000As
Tools bar. Not supported by Internet Explorer 7.
&H000Bs
Links toolbar.
bShow
Optional. Boolean that specifies whether the browser bar should be shown or hidden.

false
Browser bar is hidden.
true
Browser bar is shown.
vSize
Not currently used.

Remarks

Browser bars, also known as Explorer Bars, can be shown or hidden by the user from the View menu of Internet Explorer. For more information, see Creating Custom Explorer Bars, Tool Bands, and Desk Bands.

The standard browser bars use the following class identifiers.

Browser Bar Name Class ID
Search {30D02401-6A81-11D0-8274-00C04FD5AE38}
Favorites {EFA24E61-B078-11D0-89E4-00C04FC9E26E}
History {EFA24E62-B078-11D0-89E4-00C04FC9E26E}
Channels {EFA24E63-B078-11D0-89E4-00C04FC9E26E}

The WebBrowser object delegates this method to the top-level frame. If no frame exists, it returns E_FAIL.

Applies To

InternetExplorer

Community Additions

ADD
Show:
© 2015 Microsoft