• Advertisement

Archived

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

New lines in an edit box

This topic is 5647 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''m making a debug console to use in my DirectX apps but I''ve ran into a little problem. When ever I try to put a new line (\n) into an edit box, I get one of those little square high ascii characters instead of a new line. How do I add a new line to the edit box?

Share this post


Link to post
Share on other sites
Advertisement
Edit box newlines are \r\n. I prefer to use richedits for output boxes, since you can do color formatting and use \n for newlines.

Share this post


Link to post
Share on other sites
I tried switching out a Richedit for it but it crashed on me. Do I have to do something different to get it work?

Share this post


Link to post
Share on other sites

  • Advertisement