
| Last Modification: December 11, 1999 |
How
come I get a vertical bar when I try to put a newline into an edit box?
Multiline edit boxes require both a carriage return and a line feed to indicate
a new line, in that particular order: "\r\n". Take, for example:
SendMessage(handleToEditBox, WM_SETTEXT, 0, "Line 1\r\nLine 2");