Results 1 to 9 of 9

Thread: [RESOLVED] Identify enabled state of button in another app

Threaded View

  1. #9

    Thread Starter
    PowerPoster Ellis Dee's Avatar
    Join Date
    Mar 2007
    Location
    New England
    Posts
    3,530

    Re: [RESOLVED] Identify enabled state of button in another app

    Quote 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
  •  



Click Here to Expand Forum to Full Width