|
-
September 16th, 1999, 09:20 AM
#1
CR and LF doesn't work!
Hi.
Why doesn't CR or LF work in my CEdit control. I use a member variabel of type CString and transfer data with UpdateData(FALSE).
When I use \n or \r in my CString, it's replaced with another character, ( thick line of some sort), but no new line. What am I doing wrong?
/Crister
-
September 16th, 1999, 10:48 AM
#2
Re: CR and LF doesn't work!
That thick line character is the \r \n character. Is your edit control a multiline control ? Also, you have to get the \r\n in the right order otherwise they will not be recognised as a new line combination.
HTH
Roger Allen aka [CB]RIGamortis, the quake2 player.
Please use meaningful question titles - "Help me" does not let me know whether I can help with your question, and I am unlikely to bother reading it.
Please remember to rate useful answers. It lets us know when a question has been answered.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|