Conquer clicker

04/04/2009 03:21 b0ne#1
So Im currently building a simple clicker for Conquer in C++ and want to make it work while the window is minimized but I cant get it to work ...
Ive used SendMessage, PostMessage, etc..

Any ideas on how to send an event to a minimized window..?
04/04/2009 13:15 Adroxxx#2
SendMessage & PostMessage
04/04/2009 22:17 Alexios#3
I want to inform you,if you don't know that if you left click in Conquer while it is minimized, your character will get at autoclick jail in about 10 minutes
04/04/2009 22:18 b0ne#4
Quote:
Originally Posted by Adroxxx View Post
SendMessage & PostMessage
Yah .. Ive been trying with those two.. changing their params and stuff like that but still nothing...
Im using the GetForegroundWindow() function to get a hwnd and send the message to that hwnd...

but thanks for answering :bandit:

Edit:

Quote:
I want to inform you,if you don't know that if you left click in Conquer while it is minimized, your character will get at autoclick jail in about 10 minutes
Thanks for the heads up.. but I didnt just mean while its minimized .. just while its on the background. Having the clicker working at the Conquer while Im browsing the net or doing something else.. but thanks again..
04/05/2009 13:07 Adroxxx#5
Quote:
Originally Posted by b0ne View Post
Yah .. Ive been trying with those two.. changing their params and stuff like that but still nothing...
Im using the GetForegroundWindow() function to get a hwnd and send the message to that hwnd...

but thanks for answering :bandit:
Then you making something wrong.

You get the window handle with FindWindow().

For sending keys use PorstMessage and for sending mouseclicks use SendMessage.

It's the best you make a few functions. Like MouseClick() and SendKey() or something. Then you must only call MouseClick(x,y) with the coords.