Microsoft SDK for Java

DhEventInfo.getMouseButton

Tests for mouse button events.

Syntax

final public int getMouseButton()

Return Value

Returns one of the mouse buttons constants from EVT_NOBUTTON, EVT_LEFTBUTTON, EVT_RIGHTBUTTON, or EVT_MIDDLEBUTTON.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.