Skip to main content
GameDev.net gamedev.net
🔒 Locked

CEdit control text formatting

Started by Swamii Jul 28, 2002 at 1:41 AM 0 replies 750+ views
Original Post
Swamii
Swamii
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?
------Tech, life, family, faith: Give me a visit.
niyaw
niyaw
try \r\n for newlines.

---
Come to #directxdev IRC channel on AfterNET

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.