Original Post
I'm using a windows edit box and I want to set its text to what I read in from a file, but it does not insert the returns so everything is on one line. example: in the file: hello goodbye in the edit box: hellogoodbye also if I just try setting the text using: SendMessage(hWnd_edit, WM_SETTEXT, 0, (LPARAM)"hello\ngoodbye"); it does not take the \n to mean return(or at least insert one), but \t inserts a tab. the edit box is created using: hWnd_edit =CreateWindowEx(0, "EDIT", "edit", ES_MULTILINE | ES_AUTOVSCROLL,600, 0,400,400,0,NULL,hInstance,NULL); any ideas on how to insert a return?