Re: win32lib getTextExtent on XP

new topic     » goto parent     » topic index » view thread      » older message » newer message

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!
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu