Loading ...
Sorry, an error occurred while loading the content.

189Re: IsGrayedButton

Expand Messages
  • Dennis K. Paulsen
    Apr 23, 2003
    • 0 Attachment
      For radio buttons or check boxes, IsGrayedButton determines if the
      current state is indeterminate ("grayed"). For regular buttons this
      function does nothing useful.
      IsGrayedButton([HANDLETORADIOBUTTONORCHECKBOX])

      For regular buttons, one can use IsWindowEnabled to determine if the
      button is disabled.
      IsWindowEnabled([HANDLETOREGULARBUTTON])

      Since these functions originate from the Windows API, one could
      consult Microsoft's MSDN library if a more indepth understanding is
      desired.


      Regards,
      Dennis K. Paulsen

      --- In perlguitest@yahoogroups.com, "Jason Blakey" <jblakey@f...>
      wrote:
      > On a completely different topic,
      >
      >
      > what does IsGrayedButton do? Check for the existence of a
      grayed button on
      > the supplied HWND? Wait until there are no grayed buttons? From
      my little
      > bit of testing, it looks like the latter, but i could most
      definitely be wrong.
      >
      > Thanks,
      > jason
      >
      > --
      > This email from jason blakey - jblakey@f...
      > "The luckiest guy in the world!"
    • Show all 5 messages in this topic