April 28th, 1999, 01:11 AM
I am trying to add text to a multiline edit box by using the SetWindowText method in MFC. The text has embedded '\n' so that the text will show up as multiline. Instead of going to a new line, the '\n' shows up as a solid pipe '|'. Is there a way to add multiline text to an edit box with a single method call? If not, what is the best way to do it? The text doesn't have to be editable, only scrollable.