_GUIMouseDown

Returns if primary or secondary mouse button is down, by default primary = left button, secondary = right button

#include "Window, Screen, Mouse and Control.au3"
_GUIMouseDown( $hGUI [, $iButton = 1]

parameters

$iButton Window GUI handle
$hGUI Primary button = 1, Secondary button = 2, by Windows default primary button is left

return value

integer value

related

_GUIMouseControl, _GUIMouseGetX, _GUIMouseGetY