Jump to content
  • Advertisement
Sign in to follow this  
SelethD

what is a chat window?

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

Im programming in windows, and am trying to make a chat type program, over the internet. So what exactly is the little boxes that make up a chat window. There is the top box that displays the messages and the bottom part that you type in. I am guessing the bottom part is a Edit Box? But what is the top, and how do you get it to scroll, or do i have to manually add a scroll bar? im programming in VC++ under windows thanks

Share this post


Link to post
Share on other sites
Advertisement
I think I made one with the top part being a List Box. Worked well if I remember correctly. I'm sure there are other ways of doing it though.

Matt Hughson

Share this post


Link to post
Share on other sites
Display - Rich Edit control.
Input - Single Line Edit Box.

The rich Edit scrolled each time you add text, you send a scrolldown message to the control. I have a function to output strings toa rich edit, I'll look it up if you need it, PM me.

Share this post


Link to post
Share on other sites
Quote:
Original post by Vampyre_Dark
Display - Rich Edit control.
Input - Single Line Edit Box.



I would not like a single line text box as a input field...

Share this post


Link to post
Share on other sites
Quote:
Original post by Pelikaruga
Quote:
Original post by Vampyre_Dark
Display - Rich Edit control.
Input - Single Line Edit Box.
I would not like a single line text box as a input field...
[lol]They are single lined in most software that I have used (excluding instant messengers). It's a moot point however, since it's handled the same regardless, when it's time to send, you grab the text, send it, and clear the control.

Share this post


Link to post
Share on other sites
[lol]You do realise that from the title of this thread people are going to assume that you've never heard of a chat window before, right?[lol]

Just use a couple of textboxes, or richedit if you must. Set the display one to readonly. Both should be set to multi-line, but I would make the entry one smaller. Just copy Messenger.

Share this post


Link to post
Share on other sites
I think I would need more than one line on the text in box. Thanks so much for the help, you i know at least what type of box to start experimenting with.

And as for the topic of this post? I didnt see it that way until after I posted then read it myself, I was like duh what a stupid question :P


Thanks again

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!