1. RE: win32lib getTextExtent on XP
Hi Derek,
I Use XP home edition with win32lib 57.9 and do not have any trouble
with getTextExtent(). I use if extensively to size buttons and LText.
Regards
Tony Steward
> -----Original Message-----
> From: Derek Parnell [mailto:ddparnell at bigpond.com]
> Subject: win32lib getTextExtent on XP
>
>
> Its been reported that the getTextExtent() is not working on Windows
XP.
> Can someone confirm this for me, please.
>
>
> --
>
> cheers,
> Derek Parnell
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
2. RE: win32lib getTextExtent on XP
Derek Parnell wrote:
>
>
> Its been reported that the getTextExtent() is not working on Windows XP.
>
> Can someone confirm this for me, please.
>
>
> --
>
> cheers,
> Derek Parnell
>
Hello again Derek,
Does the winlib function call
GetTextExtentPoint32A()
or
GetTextExtentPoint32W()
?
Take care for now,
Al
3. RE: win32lib getTextExtent on XP
Derek Parnell wrote:
>
>
> > Derek Parnell wrote:
> > >
> > >
> > > Its been reported that the getTextExtent() is not working on Windows XP.
> > >
> > > Can someone confirm this for me, please.
> > >
> > >
> > > --
> > >
> > > cheers,
> > > Derek Parnell
> > >
> >
> > Hello again Derek,
> >
> > Does the winlib function call
> > GetTextExtentPoint32A()
> > or
> > GetTextExtentPoint32W()
>
> The ASCII version. If I use the Unicode version, don't I have to use
> UTF-16
> encoding?
>
> --
> Derek
>
>
Hello again,
I just thought that maybe if the library called the ansi version
then if someone tried to poke in a unicode text string with the
zero first it might cause the GetTextExtentPoint32A() function
to fail. I would think it would handle a zero as a null character
though, but i havent ever tried this.
Perhaps the user could tell you what the return value from the
function call was also: 'TRUE' or 'FALSE'.
GetLastError() should report a number we can track to some useful
info too probably...if you can ask them to call that function
right after the GetTextExtentPoint32A() call...
Take care for now,
Al