0 - Left Button 1 - Right Button 2 - Middle Button [if applicable]
<nButPrs> is the number of times the specified button was pressed since the last call to this routine. PASSED BY REFERENCE. <nX> is the X position of the cursor when the last press occurred. PASSED BY REFERENCE. <nY> is the Y position of the cursor when the last press occurred. PASSED BY REFERENCE.
Returns
An integer representing the button status:
0 - no buttons pressed 1 - left button pressed 2 - right button pressed 3 - left and right pressed 4 - middle pressed 5 - left and middle pressed 6 - middle and right buttons pressed 7 - all 3 buttons pressed
Description
Retrieves the mouse button status and the position of the cursor when a button was last pressed.
Examples
IF Empty( FT_MBUTPRS(1) ) ? "No Item selected" ENDIF