Hello again.
I am trying to save text from a multiline CEdit control.
I used GetWindowText() and it retrieves the data as one giant line, which is ok. Now when I load the text back in, the only text that is loading is the text before the first newline. So I tried converting it to a Cstring and used the trim function to trim the \r\n and \n characters before writing to a file. But I still can not get it to load past the first newline character. Any help?
-Ron
/**************
Me: When will the project be finished?
Them: What project?
Me: The one you have been working on for the last 3 years!
Them: Ohh, we can't finish it?
Me: Why?
Them: We don't know how to program...
I am trying to save text from a multiline CEdit control.
I used GetWindowText() and it retrieves the data as one giant line, which is ok. Now when I load the text back in, the only text that is loading is the text before the first newline. So I tried converting it to a Cstring and used the trim function to trim the \r\n and \n characters before writing to a file. But I still can not get it to load past the first newline character. Any help?
-Ron
/**************
Me: When will the project be finished?
Them: What project?
Me: The one you have been working on for the last 3 years!
Them: Ohh, we can't finish it?
Me: Why?
Them: We don't know how to program...