|
-
January 17th, 2001, 04:04 PM
#1
New Line in CRichEditCtrl ??
I have a class which was CRichEditView, now transferred to CRichEditCtrl.
After the transfer, the newlines, "\r\n" are not being honored. Everthing appears on one line..!!
The code snippet I am using to add each line of text to the control looks like;
SetSel(nChars, nChars); // point end of document
ReplaceSel((LPCSTR)szBuffer); // display text
where szBuffer is a string terminated with "\r\n"
Why is it not breaking the line as it did whan it was a View??
Thanks,
Bryan.
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
|