|
-
Jul 19th, 2008, 09:45 AM
#9
Re: [RESOLVED] Identify enabled state of button in another app
 Originally Posted by Edgemeal
To check if button is enabled you can probably just use the simpler, IsWindowEnabled API call.
Yeah, probably, but it's not like ANDing a state with a mask is involved. It's identifying a window by its caption that takes all the code.
EDIT: I went ahead and made that change, as it is definitely more elegant. I also edited the code above to reflect it for posterity.
Last edited by Ellis Dee; Jul 19th, 2008 at 09:49 AM.
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
|