ShowBrowserBar MethodShowBrowserBar Method*
*Contents  *Index  *Topic Contents
*Previous Topic: Refresh2 Method
*Next Topic: Stop Method

ShowBrowserBar Method

Description

Shows or hides a specified browser bar.

Syntax

object.ShowBrowserBar pvaClsid, [pvarShow,] [pvarSize]

PartDescription
objectRequired. An object expression that evaluates to an object in the Applies To list.
pvaClsid Required. A string containing 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. For more information, see Band Objects. 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}

pvarShow Optional. A Boolean value that specifies whether the browser bar should be shown or hidden. If this is TRUE, the browser bar is shown. If this is FALSE, the browser bar is hidden. The default value is TRUE.
pvarSize Optional. Not currently used.

Remarks

Browser bars, also known as Explorer Bars, can be shown or hidden by the user from Internet Explorer's View menu. The ShowBrowserBar method is ignored by the WebBrowser object.

Applies To

InternetExplorer, WebBrowser


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.