[C++] Button handle

Hey, i have a small question.
How can i get a handle form a other button in another programm and how can i aktivate this button?
Thanks for you help! :)
I assume this is a Windows question.

If you can identify it, you already have its handle. To do something to it, you send it a message.

You can use Spy or one of the variants to look watch messages that are sent to a window.
Last edited on
you mean with sendmessage?
i test it (:
SendMessage or PostMessage
and what must i send?
Haven't you taken a look with Spy?

WM_LBUTTONDOWN and WM_LBUTTONUP
Topic archived. No new replies allowed.