Windows Media Player SDK banner art
PreviousNext

event.button

The button attribute retrieves a value indicating which mouse buttons were down when the event occurred.

Syntax

event.button

Possible Values

This attribute is a read-only Number (long).

Value Description
0 No mouse buttons were down.
1 The left mouse button was down.
2 The right mouse button was down.
3 Both mouse buttons were down.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.