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

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.

 

 

Show:
© 2015 Microsoft