|
-
May 27th, 2000, 02:27 AM
#1
Thread Starter
Addicted Member
i know how to mouve the mouse with vb but how do you click the mouse in vb please if you can email me at [email protected]
-
May 27th, 2000, 02:36 AM
#2
Hyperactive Member
mouse down
try the mouse down procedure.
Matt 
-
May 27th, 2000, 05:03 AM
#3
MouseDown will detect when the mouse is down. Placing your code in the click event will trigger when the mouse is clicked.
-
May 27th, 2000, 08:57 AM
#4
Hyperactive Member
Did I read the question wrong? It sounded like he accually wanted to fire off a mouse event, not react to one.
"People who think they know everything are a great annoyance to those of us who do."
-
May 27th, 2000, 09:00 AM
#5
Thread Starter
Addicted Member
yes i accually want to fire off a mouse event, not react to one
-
May 27th, 2000, 09:28 AM
#6
Code:
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)
Public Const MOUSEEVENTF_LEFTDOWN = &H2
Public Const MOUSEEVENTF_LEFTUP = &H4
Call mouse_event(MOUSEEVENTF_LEFTDOWN Or MOUSEEVENTF_LEFTUP, 0&, 0&, 0&, 0&)
Hope that's what you meant.
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
|