Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I have a CListCtrl. The first column of the CListCtrl has sentences, i.e. each cell of the first column has a sentence. I know that it is possible to set the color of individual cells. Is there any possible way for setting color to a specific word in the sentence contained in a single cell. Like if a cell has the sentence, "Today is Tuesday", can Tuesday be displayed in a different color?
Posted
Updated 31-May-10 21:25pm
v2

1 solution

Have you try with custom draw notification from ListCtrl.

If it is difficult in custom draw you can override DrawItem()

Regards
Radhakrishnan G.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900