Different colored lines in a textbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I am using VC++ for a WinForm project. I have a TextBox that I use to display info/error messages to the user. I would like info lines to be one color and errors to be another. Is there a way to do this

Thank you
Joe
 
* =?Utf-8?B?Sm9lIFRob21wc29u?= said:
I am using VC++ for a WinForm project. I have a TextBox that I use to
display info/error messages to the user. I would like info lines to be
one color and errors to be another. Is there a way to do this?

Use a RichTextBox or a ListView control instead of the TextBox.
 
Back
Top