[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
twMButtonDown( nButton )
----------------------------------------------------------------------------
Get mouse button status. This function determines the status of
the left and right hand mouse buttons. The button status is a
single integer value. Bit 0 represents the left hand button and
bit 1 the right hand button. The value of a bit is 1 if the button
is down and 0 if it is up.
Arguments:
None.
Return:
0 - no buttons down.
1 - left button down.
2 - right button down.
3 - both buttons down.
Example:
IF ( twMButtonDown() == 1 )
// do something
ENDIF
See Also:
_twM3B()
_twM5A()
_twM5B()
_twM5C()
_twM5D()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson