CListBox item background

129 views Asked by At

I need to set background CListBox background. I can't find solution for set different colors for each item. How can I do that?

1

There are 1 answers

0
ScottMcP-MVP On

To get different colors for each item you have to owner-draw the list box. That means you must paint each item yourself. See the CTRLTEST sample in MSDN.