-
I was Using api call keyboardAsyncState
The Code was
While keyboardasyncstate(vbreturn)
wend
while keyboardasyncstate(vbReturn) = 0
wend
it was For a break for the person to push enter...
But I need one now that I Could use for the mouse.
I Tried this:
While mouse_event(0, 0, 0, 0, 0)
Wend
But I just dont know what Im Doing..
Can someone Help me out?
thanks.
-
You can use the GetAsyncKeyState function, and use the mouse button constants:
Code:
Private Const VK_LBUTTON = &H1
Private Const VK_MBUTTON = &H4
Private Const VK_RBUTTON = &H2
------------------
(¯`·.¸¸.·´¯`·->ShadowCrawler<-·´¯`·.¸¸.·´¯)
Teenage Programmer
Visual Basic, HTML, C++, JavaScript
http://welcome.to/X12Tech
Email: [email protected]
ICQ#: 9872708