Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

OnMenuBar event

Fires when the MenuBar property is changed.

Syntax

HTML Attribute <element OnMenuBar = "handler(event)">
attachEvent Method object.attachEvent("OnMenuBar", handler)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

MenuBar [in]

Type: Boolean

A Boolean value that specifies whether the menu bar is shown.

VARIANT_TRUE (true)

Menu bar is shown.

VARIANT_FALSE (false)

Menu bar is hidden.

Remarks

The WebBrowser object ignores this event.

When using scripting in an HTML page, this event corresponds to the MenuBar property passed in the open method.

See also

InternetExplorer

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.