Press a button of an other application?

c++ / delphi package - dll injection and api hooking
Post Reply
AndMeToo
Posts: 2
Joined: Tue May 24, 2005 9:26 am

Press a button of an other application?

Post by AndMeToo »

Hello!

I used some tools to get the class and name of the button of an other application. Is there already a soloution to raise a ClickEvent for this button?

PS: The F1 Template is broken ... on this forum, if you choose it you can't login anymore, please Mad fix this.
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

You can probably use "PostMessage(FindWindow(buttonClass, buttonName), BM_CLICK, 0, 0)".

What do you mean with "F1 Template"?
AndMeToo
Posts: 2
Joined: Tue May 24, 2005 9:26 am

Post by AndMeToo »

Template
When I choose in your forums the "FI Black"-Template instead of subSilver, there comes an error and I can't lock in again. (thatswhy I registered with MeToo and AndMeToo, because the first one uses this template ... )

You can probably use "PostMessage(FindWindow(buttonClass, buttonName), BM_CLICK, 0, 0)".
Thanks, I'll try if it works for me :).


Cu
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

I'll check the template problem.
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

The template problem should be fixed now.
Post Reply