Share via


OnMenuBar event

Fires when the MenuBar property is changed.

Syntax

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

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

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.