Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnMenuBar

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.

 

 

Show:
© 2015 Microsoft