|
-
Oct 5th, 2000, 02:20 PM
#4
New Member
You can try these constant "VK_LBUTTON" in replacement of "vbKeyLButton".
Public Const VK_LBUTTON = &H1
Public Const VK_RBUTTON = &H2
Public Sub Wait4Click()
Dim press As Boolean
press = False
Do
If GetAsyncKeyState(VK_LBUTTON ) <> 0 Then press = True
If press = True And GetAsyncKeyState(VK_LBUTTON ) = 0 Then Exit Sub
DoEvents
Loop
End Sub
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
|