• Advertisement

Archived

This topic is now archived and is closed to further replies.

CEdit control text formatting

This topic is 5658 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a CEdit control in my MFC app, and in the CEdit control, I have about 2 paragraphs (read-only control). To begin a new line, I use \n and for a tab spacing, I use \t. Problem is, when the app runs, there are no new lines. \t works, and I see tab spacing, but \n does not work. Any ideas?

Share this post


Link to post
Share on other sites
Advertisement
try \r\n for newlines.

---
Come to #directxdev IRC channel on AfterNET

Share this post


Link to post
Share on other sites

  • Advertisement