1271Re: How to tell if a checkbox is checked in a window - Hw to find Handle
- Jan 12, 2006Try FindWindowLike....
--- In email@example.com, "santoshkadli" <kadlisantosh@h...>
> 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 firstname.lastname@example.org, 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: email@example.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]
- << Previous post in topic Next post in topic >>