--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
>
> let
> > me know. I think unlike other controls getting another program's
> > status bar text is a process-related problem.
> 
> 
> Try win.gettext.
> 
> For certain messages, windows will handle the fact that the
> message is coming from another process automatically. Probably
> not the wm_sb... one, since it is just a wm_user known only to
> the control.
>

win.gettext was the first thing I tried.

Just tried win.childtextbyindex(maincaption, index)

because it has the same arguments as MiscPlugin's Get_WindowText, but
that also didn't work.

MiscPlugin works, so it must be doing something different.

When I watch messages for the status bar in Winspector and use the
Misc plugin:

I see WMUser+6 (which I know to be sb_getparts) followed by three
WMUser+2 (which I know to be sb_gettext, one for each part).

When I watch messages for the status bar in Winspector and use the win
plugin childtextbyindex:

I see WM_GETTEXTLENGTH and WM_GETTEXT

and the result is empty.

Regards,
Sheri

Reply via email to