Share via


Windows Media Player 11 SDK event.buttonĀ 

Windows Media Player SDK banner art

Previous Next

event.button

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

Syntax

  
    
  

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.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next