> not necessary in PP. Try this:
>
> index(win.childhandlelist("c=TTotal_Cmd"), win.getfocus)
>
> Of course, TC should be the foreground window.
>
> Sean
>
Nope, unfortunatelly this does not work for me:
win.debug( index(win.childhandlelist("c=TTotal_Cmd"), win.getfocus))
Returns 25 for the right panel and 33 for the left panel.
However this:
local TMLB = Win.handlefromindex("c=TTOTAL_CMD", panel )
Win.Sendmessage (TMLB, 256, 40, 0)
works only when panel=5 (left panel) or panel=4 (right panel) in my
pc.
I have also noticed that numbers returned by index(...) change after
tc restart, while numbers 5 and 4 do not.
Any other suggestion appreciated ;)
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/power-pro/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/