--- In [email protected], "silvermoonwoman2001" <sheri...@...> wrote:
>
> --- In [email protected], "nospam0123456us" <nospam0123456us@> wrote:
> >
> > --- In [email protected], "brucexs" <bswitzer@> wrote:
> > > 
> > > 
> > > http://powerpro.webeddie.com/download/win.dll
> > >
> > 
> > it is worse than before (win 1.6.8)
> > --CODE--
> >    len = han.sendMessageStrRemote( SB_GETTEXT, 1000, astr)  
> >    win.debug("["++ len ++"] "++astr)
> > --CODE--
> > 
> > 
> > I did not get the string back for unicode (notepad++ unicode applicaton), i 
> > did not get the string back for an ansi application (pfe or notepad++ 
> > ansi):((
> >     
> > Unicode OUTPUT :
> > [26]C
> > 
> > ANSI Debug OUTPUT
> > [26]?
> > 
> > - - - -
> >
> 
> SB_GETTEXT messages still work for me for Ansi apps. You don't
> seem to be using the message correctly. Surely your statusbar
> doesn't have 1000 parts. Astr needs to be created in advance with
> e.g., repeat("x",1000)
> 
> For notepad++, I think it's not correctly detecting that the
> statusbar text is already in Ansi. The previous version of the
> win.sendMessageStrRemote gets notepad++'s statusbar section texts
> correctly.

notepad++'s status bar handle needs to be messaged with SB_GETTEXTW 
(WM_USER+13), not SB_GETTEXT. Then the enhanced version of the win plugin 
function works.

Regards,
Sheri

Reply via email to