Archived

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

Line break in text box

This topic is 5703 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

Hey, I''m working on a chat program and have a large textbox that will hold the chat. After each person says something, I want their to be a break so it goes to the next line, but I haven''t figured out how to do this yet. Thanks for the help! I already tried putting a \n through SetDlgItemText and everything, but not luck.

Share this post


Link to post
Share on other sites
If you use a normal textbox, using sprintf(TextBox, "%s%s", TextBox, ''\n''); should work.

Sand Hawk


----------------
-Earth is 98% full. Please delete anybody you can.

Share this post


Link to post
Share on other sites