|
-
May 28th, 2006, 02:11 PM
#1
Virtual Mouse
Hello, I am extremely new to the Windows API and I don't know where to start.
How would I simulate a virtual mouse click (without the mouse actually moving on screen) and implement this into an application that doesn't have a window? I did check the MSDN, but it is all so confusing right now!
Thanks,
Cameron
-
May 28th, 2006, 02:51 PM
#2
-
May 29th, 2006, 09:57 AM
#3
Re: Virtual Mouse
 Originally Posted by golanshahar
Thank you, that helped a lot, but I'm still at loss as to how one could accomplish this without having the mouse actually move on screen. Something like a second invisible mouse.
-
May 29th, 2006, 10:51 AM
#4
Re: Virtual Mouse
 Originally Posted by CamRW
Thank you, that helped a lot, but I'm still at loss as to how one could accomplish this without having the mouse actually move on screen. Something like a second invisible mouse.
Why you don’t want to move the mouse?
Anyway you can try something like that:
- save mouse coordinates.
- move the mouse to the point you want to perform the click.
- perform the click.
- move the mouse back to the saved coordinates on phase one.
I am pretty sure it will be so fast that the mouse will do all this trip but user wont notice 
Cheers
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
|