|
-
Aug 3rd, 2000, 12:07 PM
#1
Thread Starter
Addicted Member
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?
-
Aug 3rd, 2000, 01:43 PM
#2
transcendental analytic
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.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 4th, 2000, 02:03 PM
#3
Thread Starter
Addicted Member
There is no way you can find the second button with API? Thanks for replying Kedaman!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|