|
-
January 10th, 2013, 03:28 AM
#5
Re: How to add a newline with SetWindowText() in ReadOnly CEdit? "\n" doesn't work :
Just to complete the answers already posted, have a look in this FAQ: How to append text to an edit control?
If you want add lines to a multiline edit control, it's much better to use CEdit::SetSel and CEdit::ReplaceSel instead of CWnd::GetWindowText and CWnd::SetWindowText.
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
|