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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -