
Wrapping text in text box or edit box
For an edit box you need to set the EX_MULTILINE style. Word wrapping is then
automatic. You can force a newline by inserting \r\n into the text.
For a static text box things are a bit different. By default the style is set
to SS_LEFT, which will cause text to auto-wrap within the size of the control.
You can force a new line within that string with only a \n.
Quote:
> Can any body tell me how to wrap text in a static text box or an edit box.
Jim [VC/MFC MVP]
To send mail, change spam-me-not to msn