Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to make auto mouse move in c++?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
clanner
Master Cheater
Reputation: 0

Joined: 26 Jul 2006
Posts: 290

PostPosted: Thu Aug 28, 2008 8:41 pm    Post subject: How to make auto mouse move in c++? Reply with quote

Well, I want to make my mouse auto move to this location and click. The game that I want to use it for is using XTrap so I doubt I'll find an answer but Its worth a try. Could someone show me/tell me/lead me in the right direction on how to make a program like this in C++
Thank you.
Back to top
View user's profile Send private message AIM Address
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Thu Aug 28, 2008 8:44 pm    Post subject: Reply with quote

GetCursorPos & mouse_event.
Back to top
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Thu Aug 28, 2008 9:16 pm    Post subject: Reply with quote

_void_ wrote:
GetCursorPos & mouse_event.


Or GetCursorPos and SetCursorPos
Back to top
View user's profile Send private message Send e-mail
Fuzz
Grandmaster Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 531

PostPosted: Fri Aug 29, 2008 11:01 am    Post subject: Reply with quote

Or GetCursorPos and PostMessage it.
_________________
Back to top
View user's profile Send private message AIM Address
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Fri Aug 29, 2008 12:51 pm    Post subject: Reply with quote

SetCursorPos() to move the mouse, and use SendInput to click. Or you can look up PostMessage + 5 bypass.
_________________
What dosen't kill you, usually does the second time.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites