Window sizing by actual string and font
-
Hello all, I would like to change window size by the actual string size. The string size deplend on the actual font. I am not able to get actual string lenght in pixels ... Do you now any function that returns actual string length in pixels? thank you for any advice
-
Hello all, I would like to change window size by the actual string size. The string size deplend on the actual font. I am not able to get actual string lenght in pixels ... Do you now any function that returns actual string length in pixels? thank you for any advice
The
GetTextExtent...
functions will do that.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04 "There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05 Within you lies the power for good - Use it!