
Set text color for 1 line in a CEdit control (MultiLine)
No, it's not possible. :-(
Other options include:
- using list box (with ownerdraw) or list view (with custom draw) to show
your log in color
- using HTML to render your log (refer to
http://www.pocketpcdn.com/sections/html.html to find more information)
- writing a control of your own
--
Sincerely,
Alexander
http://www.RSDN.ru - Russian Software Developer Network
Quote:
> I'm using a CEdit control with multiline option to display a log file. I
> want to change text color for some lines. I know how to change color of
the
> whole text (with WM_CTLCOLOR event), but not for a part of text.
> Is it possible ?
> Thanks in advance.