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

1270Re: How to tell if a checkbox is checked in a window - Hw to find Handle

Expand Messages
  • santoshkadli
    Jan 12 6:17 AM
      How do i find a Handle for a Check boxes.
      I have 2 check boxes. Information all i have about them is Control ID
      and the Names associated.
      I tried verious options like GetWindowID, and ther Get methods.
      I am not able to trace the Handle .. Can some body help me with this ?

      --- In perlguitest@yahoogroups.com, Chris Hilton <chilton@n...> wrote:
      > 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))
      > $checked = IsCheckedButton($checkbox);
      > Basically, get a handle to the checkbox by whatever means and then
      > IsCheckButton() to see if the checkbox is checked or not.
      > Chris Hilton
      > -----Original Message-----
      > From: coastguard12 [mailto:chris.johnson@a...]
      > Sent: Tuesday, 27 January, 2004 09:56
      > To: perlguitest@yahoogroups.com
      > Subject: [perlguitest] How to tell if a checkbox is checked in a
      > Does anybody have a code snippet that will find a checkbox in a
      > window and see if it is checked. Is this even possible?
      > Thanks,
      > Chris
      > [Non-text portions of this message have been removed]
    • Show all 4 messages in this topic