Archived

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

Badone

Line break in text box

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