|
-
Nov 7th, 1999, 02:17 AM
#1
Thread Starter
Frenzied Member
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.
-
Nov 7th, 1999, 03:27 AM
#2
Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|