> >
> > How long is the target string and how big is sText. sText can
hold up
> > to about 270 chars nless you take special care by first allocating
> > sText with
> > sText=repeat(" ", buffersize)
Yes, sorry, buffer size is irrelevant as this is settext, not getttext.
>>
> local sText="test"
> Win.SendMessageStr(hWnd, SB_SETTEXT, n, sText)
>
> This seemd to work, but the new statusbar text became just blank, not
>
I am pretty sure it is a process boundary issue -- the pointer to
sText is not valid in the process of hWnd. For some messages, Windows
will handle the situation for you. But not for the above, I guess.
There are ways to work around this with special programming which I
assume au3 does.
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/