-
How can you find the handle to a specific button? What I mean is, if you have three buttons in a Message box, how can you find the handle to the center button?
I was using FindWindowEx but only successful with returning the first button. I used the spy tool to get the handle to the message box with FindWindow.
Can someone help this time?
-
With Findwindow you could find the button if it has a individual classname or caption. You could also use Windowfrompoint to retrieve a button from a specified location, for instance in the middle of the message box.
-
There is no way you can find the second button with API? Thanks for replying Kedaman!