c++windowswinapilistviewsubitem

Changing the text Colour in a ListView Control ( Win32)


I have a List View Control that I have created with Win32 C++
I am adding sub items using ListView_SetItem
This just Text and the List View is in Report Mode. I want to change the colour of the text for a particular sub Item . Can I do this? How
Thanks


Solution

  • You'll need to use owner-draw for this sub item so that it uses different font properties than the rest of the list view.