instant messanger in C#

  • Thread starter Thread starter Laxmikant Rashinkar
  • Start date Start date
L

Laxmikant Rashinkar

Hi,

I would like to write an instant messenger program.

I thought I would use a textbox for the text, so I can easily scroll up and
down.
But the problem is that I cannot use multi colored text inside a text box.

So is using a panel the only way out? Assuming I used drawstring() to
display
my message in any color I want, how would I scroll the text on the panel?

Is there any public domain code for instant messanger?

thanks
LK
 
Laxmikant said:
Hi,

I would like to write an instant messenger program.

I thought I would use a textbox for the text, so I can easily scroll up and
down.
But the problem is that I cannot use multi colored text inside a text box.

So is using a panel the only way out? Assuming I used drawstring() to
display
my message in any color I want, how would I scroll the text on the panel?

Is there any public domain code for instant messanger?

thanks
LK
Look at some of the code from SharpDevelop or other source editing
tools. They will probably give you an idea on how to "colorize" text.
 
Why not use RichTextBox for your colored text? Maybe I'm misunderstanding
your requirements.
Tom Clement
Apptero, Inc.
 
Back
Top