VG3_mouse_ispressed()
Returns pressed mouse-keys.SYNTAX
int
VG3_mouse_ispressed(void *wstruct,
int *left,
int *middle,
int *right,
int flag)
FUNCTION PARAMETERS
wstruct | Window-struct |
left | If not NULL, it returns whether the left mouse-key is pressed |
middle | If not NULL, it returns whether the middle mouse-key is pressed |
right | If not NULL, it returns whether the right mouse-key is pressed |
flag | Kind of mouse-key-pressing: one of the values of VGAG3_PRESSED |
RETURN VALUE
Returns whether any mouse-key is (new) pressed.
DESCRIPTION
Return whether and which keys of the mouse are pressed.
If flag is VGAG3_IS_PRESSED, the return value will be 1,
if the/any mouse-key is being pressed.
If flag is VGAG3_IS_NEW_PRESSED, the return value will be 1,
if the/any mouse-key is new pressed
and has not been asked before with this function.
SEE ALSO