Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Highlighting specific words in LB text
#1
Hi Gintaras,
Happy Holidays!
Is this possible:
RichEditHighlight type of highlighting text within the text of a listbox.
Similar to
Quote:dlg_listbox_colors
in http://www.quickmacros.com/forum/showthr...p?tid=3977
but instead of the entire font color/background color of the entire listbox cell text, just individual words that match a certain string (wildcard, regex, etc).

I have some idea why this might be very hard - with redraws, etc, but just thought I would ask.

Thanks for your thoughts,

Stuart
#2
Yes, much work. Need to call SetTextColor, DrawTextW etc for each text part of different color.


Forum Jump:


Users browsing this thread: 1 Guest(s)