PostMessage / SendMessage (C#)

06/22/2013 23:17 matt69#1
I am trying to send key presses & mouse presses to the conquer window using PostMessage in C# but Conquer doesn't seem to respond to anything I send it. I am able to send key presses correctly to windows calculator though.

Just wondering if anyone has had success using PostMessage / SendMessage and would be kind enough to share.

Is there any other way to send key presses / mouse clicks while the conquer window is minimized?

Thanks for any help :)
06/23/2013 02:32 { Angelius }#2
You don't have to use Post/Send Message.

[Only registered and activated users can see links. Click Here To Register...]


[Only registered and activated users can see links. Click Here To Register...]
06/23/2013 12:47 matt69#3
Quote:
Originally Posted by { Angelius } View Post
You don't have to use Post/Send Message.

[Only registered and activated users can see links. Click Here To Register...]


[Only registered and activated users can see links. Click Here To Register...]
Thanks for the reply

This isn't quite what I wanted because it takes the focus away from what is currently happening on the computer, for example, the box I am typing this comment in.

If my bot were to run at the same time constantly stealing focus then I wouldn't be able to use my computer at the same time.

I've heard about function hooking, would this allow me to perform some of the functions inside the conquer window without taking focus of the window e.g. sit/meditate/talk to npc etc

edit: just found a tutorial on it here! will be using that for now thanks for your help though