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 


[C++] using mouse_event for certain locations on the screen?

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

Joined: 17 Feb 2007
Posts: 199

PostPosted: Sun Dec 21, 2008 11:33 pm    Post subject: [C++] using mouse_event for certain locations on the screen? Reply with quote

hey guys i want to make an autoclicker that clicks at a certain spot in the screen......like setting up the x and y and stuff.

first question is how would i set the x and y's in this?

mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);

second is, is there a program that tells u where your mouse is at? for x and y?

third, PLEASE HELP ME

*gone to bed...if u comment and its useful thank you very much*

_________________
Learning C++, trying, failing, never gonna give up tho Razz
Back to top
View user's profile Send private message MSN Messenger
Overload
Master Cheater
Reputation: 0

Joined: 08 Feb 2008
Posts: 293

PostPosted: Sun Dec 21, 2008 11:49 pm    Post subject: Reply with quote

try looking at the mouse_event parameters. Even you could figure it out yourself by looking at them.
_________________
Blog

Quote:
Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that
Back to top
View user's profile Send private message MSN Messenger
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Mon Dec 22, 2008 12:17 am    Post subject: Reply with quote

http://letmegooglethatforyou.com/?q=microsoft+mouse_event&l=1
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Mon Dec 22, 2008 6:25 am    Post subject: Reply with quote

If you still can't get it, it is the 2nd and 3rd parameters.

@nog_lorp
Wow that is cool! Very Happy

_________________
What dosen't kill you, usually does the second time.
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Mon Dec 22, 2008 1:34 pm    Post subject: Reply with quote

HornyAZNBoy wrote:
If you still can't get it, it is the 2nd and 3rd parameters.

@nog_lorp
Wow that is cool! Very Happy
I know rite. I was duh first one to post dat here.
_________________
Back to top
View user's profile Send private message
Travis13
Expert Cheater
Reputation: 0

Joined: 17 Feb 2007
Posts: 199

PostPosted: Tue Dec 23, 2008 8:39 pm    Post subject: Reply with quote

sponge wrote:
HornyAZNBoy wrote:
If you still can't get it, it is the 2nd and 3rd parameters.

@nog_lorp
Wow that is cool! Very Happy
I know rite. I was duh first one to post dat here.


talk about going off topic much..........Surprised

anyways so i would do this?

mouse_event(MOUSEEVENTF_LEFTDOWN, 0, x, y, 0); ???

how do i find where the pixles are on my screen? and ty

_________________
Learning C++, trying, failing, never gonna give up tho Razz
Back to top
View user's profile Send private message MSN Messenger
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Tue Dec 23, 2008 8:44 pm    Post subject: Reply with quote

GetCursorPos()
_________________
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