'simulating' mouse clicks?

Started by
4 comments, last by Xtremehobo 20 years, 11 months ago
I know there''s a SetCursorPos in the Win32 API for moving the cursor around the screen, but how would I go about controling the mouse clicks too? Is there an API function for this, or would I have to send messages to windows? Thanks -----
pixelwrench.com | [email="matt[nospam]@pixelwrench[nospam]com"]email[/email] lethalhamster: gamedev keeps taking my money, but im too lazy to not let them
Advertisement
*cough*trojan*cough*



-~-The Cow of Darkness-~-

If you see the image I am online
-~-The Cow of Darkness-~-
read about the mouse_event function..

:wq!
Thanks Emtpyhead, looks like what I need :D
No, Its not a trojan cow, its gonna be another one of those remote PC access programs like radmin
I guess I could make a trojan though after I finish this

-----
pixelwrench.com | [email="matt[nospam]@pixelwrench[nospam]com"]email[/email] lethalhamster: gamedev keeps taking my money, but im too lazy to not let them
Look up the SendInput() function.
Maybe something like SendMessage().

.lick

This topic is closed to new replies.

Advertisement