I Need to change a single CListCtrl item color
-
Hi I realy need help on how to change the text color of a single CListCtrl item at the list while the rest of the list needs to stay at the same color it has. Thanks in advance Assay
There are many, many good articles on doing that and more here at CodeProject. You can start with this one, and search if you need more.
-
There are many, many good articles on doing that and more here at CodeProject. You can start with this one, and search if you need more.
Add a message handler as shown below and edit the code u will get the below function , just type handler in codeproject u get what u want ON_NOTIFY(NM_CUSTOMDRAW, IDC_LIST2, OnCustomdrawMyList) void Reports1::OnCustomdrawMyList(NMHDR *pNMHDR, LRESULT *pResult) Vikas Amin Embin Technology Bombay vikas.amin@embin.com
-
Hi I realy need help on how to change the text color of a single CListCtrl item at the list while the rest of the list needs to stay at the same color it has. Thanks in advance Assay
http://www.codeproject.com/listctrl/lvcustomdraw.asp try this link Vikas Amin Embin Technology Bombay vikas.amin@embin.com