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