Okay I currently have two problems with my edit control, one being that when I use SetWindowText to set a "buffer" for an edit control any \n's are translated in the process to |s how do I make it so then \n's are kept as newline's (i.e. as if the user had pressed the enter key in a ES_MULTILINE edit control)?
Now my second problem is, how do I change text colour for text as I add it into the buffer? Do I have to place text into an edit control differently then I am in order to have each line (not necessary each line, but it depends on what is happening in the program) a different colour (as required)? I have no idea how to change the text colour for each line while using the SetWindowText() function considering that all the text is placed into the edit control at the same time.
All help is appreciated,