Archived

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

Horn

New lines in an edit box

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
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