Click to return to the Reusing Browser Technology home page    
LocationURL Property     Name Property     WebBrowser Properties    
Web Workshop  |  Reusing Browser Technology

MenuBar Property


Returns or sets a value that determines whether the Microsoft® Internet Explorer application menu bar is visible or hidden.

Syntax

object.MenuBar [= value]

Parameters

object
Required. Object expression that evaluates to an object in the Applies To list.
value
Optional. Boolean expression that determines whether the menu bar is visible. If TRUE, the menu bar is visible; if FALSE, it is hidden. The default value is TRUE.

Remarks

Setting this property to FALSE prevents the user from accessing the File, Edit, View, Go, Favorites, and Help menus. This can be used for limiting the functionality of an Internet Explorer application from a controlling application.

Applies To

The WebBrowser object ignores the MenuBar property.

See Also

InternetExplorer Object



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.