Re: win32lib getTextExtent on XP
- Posted by 1evan at sbcglobal.net
Jul 04, 2003
Works just fine when I use "text" instead of "string"
1evan at sbcglobal.net wrote:
>
> Doh, of course! That's what I get for "cut and paste" programming.
> Sorry, I'm not fully awake yet :)
>
>
> Pete Lomax wrote:
>
>>
>> On Fri, 04 Jul 2003 09:20:52 -0400, 1evan at sbcglobal.net wrote:
>>
>>
>>> wPrintf( MyWindow, "The string %s is %d by %d pixels", {string,
>>> extent[1], extent[2]} )
>>
>>
>> should be
>> wPrintf( MyWindow, "The string %s is %d by %d pixels", {text,
>> extent[1], extent[2]} )
>>
>> "string" is a type defined in win32lib.
>>
>> Pete
>>
>>
>> TOPICA - Start your own email discussion group. FREE!
>>
>>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>
|
Not Categorized, Please Help
|
|