RE: [WIN32LIB] Font Confusion

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

Thanks, Derek!

That did almost exactly what I needed.  I've got two more questions then
I'll quit bugging you.  First, are the results from getTextWidth() and
getTextHeight() in pixels?  I'd like to center the text in the controls,
and I figured I could use them to determine where to place the pen --
unfortunately on my last attempt to do that I didn't do so well.  (Math
and two a.m. are not a good combination).

Secondly, did you ever test that code I sent on Windows ME to see if it
crashed, and if so, why?  Just curious ... got a long way to go in this
project before that becomes a real concern.

Travis Beaty
Evans, Colorado.


-----Original Message-----
From: Derek Parnell [mailto:ddparnell at bigpond.com] 
Sent: Sunday, July 07, 2002 7:47 AM
To: EUforum
Subject: Re: [WIN32LIB] Font Confusion


Travis,
here some code that I think does the sort of thing you are talking
about.

<kersnip>

------------------
Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu