Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson