MangroBongacello
Programmer
Hi!
With the DrawText API one can draw a text inside a rectangle but it can only be centered vertically if printed in single line (DT_SINGLELINE Or DT_VCENTER). If the text is wrapped into multiple lines, it gets displayed at the top of the rectangle no matter what value is assigned to wFormat parameter. Is there a way to achieve center text vertically with multiple lines?
Thank you
Mangro
With the DrawText API one can draw a text inside a rectangle but it can only be centered vertically if printed in single line (DT_SINGLELINE Or DT_VCENTER). If the text is wrapped into multiple lines, it gets displayed at the top of the rectangle no matter what value is assigned to wFormat parameter. Is there a way to achieve center text vertically with multiple lines?
Thank you
Mangro