Make sure ES_MULTILINE and ES_WANTRETURN are added to your edit box style.
Then instead of \n add \r\n
: I'm trying to read a textfile and put it's content in an edit box. But the edit box doesn't understand the escape sequence for a new line, '\n'. Instead of a new line some bogus character appears. Some escape sequences work fine, like '\t'. What am I doing wrong?
: Don't know if this is of importance, but I'm using MSVC++ 6.0, MFC and Win XP.
: Thanks for your help!