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

398RE: [perlguitest] How to tell if a checkbox is checked in a windo w

Expand Messages
  • Chris Hilton
    Jan 27, 2004
    • 0 Attachment
      I'm not ripping this exactly from my code so it may not exactly work, but it
      should give you the right idea:

      $checkbox = (FindWindowLike(undef, "checkbox text", undef, undef))[0];
      $checked = IsCheckedButton($checkbox);

      Basically, get a handle to the checkbox by whatever means and then use
      IsCheckButton() to see if the checkbox is checked or not.

      Chris Hilton

      -----Original Message-----
      From: coastguard12 [mailto:chris.johnson@...]
      Sent: Tuesday, 27 January, 2004 09:56
      To: perlguitest@yahoogroups.com
      Subject: [perlguitest] How to tell if a checkbox is checked in a window

      Does anybody have a code snippet that will find a checkbox in a
      window and see if it is checked. Is this even possible?



      [Non-text portions of this message have been removed]
    • Show all 4 messages in this topic