--- In [email protected], miinx <[EMAIL PROTECTED]> wrote:
>
> swzoh wrote:
> > Use Win.SendMessage() with an appropriate button's handle hButton:
> >
> > local ret=Win.SendMessage(hButton,240,0,0)
> >
> > ret is 0, 1, 2 for unchecked, checked, gray-checked respectively.

> This looks interesting, but how would you get a button's handle?

There are various ways:
Win.Handle("cl","Button_Menu_Text")
Win.Childhandlelist("cl","c=button") with word() ftn
Win.HandleFromId()
Win.HandleFromIndex()

Sean






------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to