winapi - Wordwrap Win32 -
I will rotate a block of text to appear in a window which is otherwise long enough, the font I am using That is not a fixed width font, so GetSystemMetrics will not return the exact value for my text.
Using a static window is not an option because a static window does not tell me an important information: the height of the text after the word wrapping .
Any thoughts?
Billy 3
See Win32 API call You DT_CALCRECT Option will pass, you will tell Windows to calculate the rectangle given to you.
Comments
Post a Comment