Jump to content
  • Advertisement

Archived

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

Badone

Line break in text box

This topic is 5890 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!