|
-
May 20th, 1999, 02:39 AM
#1
Text's size
I'm looking how to calculate the size of a text in Pixels under VC++ 1.52 because the functions GetTextExtentExPoint( ... ) and
GetTextExtentExPoint32( ... ) don't match. I try with the variables tmAveCharWidth or tmMaxCharWidth of TEXTMETRIC but it's give me only a approximation.
Please help me
Thanks
-
May 20th, 1999, 02:45 AM
#2
Re: Text's size
In VC++ 1.52, it's called just GetTextExtent(). It works the same as GetTextExtentPoint32().
I ought to point out that if you had used the MFC version of the function, it is called GetTextExtent() in both compilers. There are some advantages to MFC!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|