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
|
Not Categorized, Please Help
|
|