i need a code to force mouse click i have
DECLARE:
not my code:
and
now i need to be able to left click and right click
i have a listbox that displays the button that was pressed in text such as "Left"
"Right"
"Middle"
i need it to read that as click accordingly.
thx in advance
DECLARE:
Code:
Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Private Const MOUSEEVENTF_LEFTDOWN = &H2
Private Const MOUSEEVENTF_LEFTUP = &H4
not my code:
and
Code:
Call mouse_event(MOUSEEVENTF_LEFTDOWN Or MOUSEEVENTF_LEFTUP, 0, 0, 0, 0)
now i need to be able to left click and right click
i have a listbox that displays the button that was pressed in text such as "Left"
"Right"
"Middle"
i need it to read that as click accordingly.
thx in advance

