Click to return to the Reusing Browser Technology home page    
Refresh2 Method     Stop Method     WebBrowser Methods    
Web Workshop  |  Reusing Browser Technology

ShowBrowserBar Method


Shows or hides a specified browser bar.

Syntax

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

Parameters

object
Required. 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 Microsoft® Internet Explorer's View menu. The ShowBrowserBar method is ignored by the WebBrowser object.

Applies To

InternetExplorer, WebBrowser


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.