Skip to main content
GameDev.net gamedev.net
🔒 Locked

'simulating' mouse clicks?

Started by Xtremehobo May 26, 2003 at 1:10 PM 4 replies 400+ views
Original Post
Xtremehobo
Xtremehobo
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
cowsarenotevil
cowsarenotevil
*cough*trojan*cough*




-~-The Cow of Darkness-~-

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

:wq!
Xtremehobo
Xtremehobo
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
NeverSayDie
NeverSayDie
Look up the SendInput() function.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.