altLeft property

Retrieves a value that indicates the state of the left ALT key.

Syntax

HRESULT value = object.get_altLeft(* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

Left ALT key is not pressed.

VARIANT_TRUE (true)

Left ALT key is pressed.

Remarks

This property is currently supported only in Microsoft Windows NT 4.0 and Windows 2000.

The document must have IHTMLElement2::focus for this property to return VARIANT_TRUE.

No altRight property is available. Authors can test for the right ALT key by using the IHTMLEventObj::altKey and IHTMLEventObj3::altLeft properties.

See also

IHTMLEventObj::altKey

 

 

Community Additions

ADD
Show:
© 2014 Microsoft