altKey property

Retrieves a value that indicates the state of the ALT key. For the standards based property, see IDOMKeyboardEvent::altKey.

Syntax

HRESULT value = object.get_altKey(* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

ALT key is not pressed.

VARIANT_TRUE (true)

ALT key is pressed.

See also

IHTMLEventObj3::altLeft