Export (0) Print
Expand All

CommandStateChange event

Fires when the enabled state of a command changes.

Syntax

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

 

Event information

SynchronousNo
BubblesNo
CancelableNo

 

Event handler parameters

Command [in]

Type: Long

A CommandStateChangeConstants enumeration value that specifies the command that changed.

Enable [in]

Type: Boolean

A Boolean value that specifies the enabled state.

VARIANT_FALSE (false)

Command is disabled.

VARIANT_TRUE (true)

Command is enabled.

See also

InternetExplorer
WebBrowser

 

 

Community Additions

ADD
Show:
© 2014 Microsoft