Word Wrap in Controls
Keywords: word wrap
Question:
Is it possible to be able to center the text and enable word wrap within the text control box?Answer:
Assuming that you are referring to static or vary text controls, they currently support word wrapping at work breaks and if you dynamically change the text of these controls the text will be wrapped at word breaks.To support center text alignment, we can add a new style bit for use in the control's style attribute field that causes the text to be centered instead of left justified. However, it would not possible to dynamically change this particular style in the dialog procedure.
Article ID: W15132