Change the color of selected or selected but not active listview row when using uxtheme theough winapi

153 Views Asked by At

im on Win10 and want to change the colors used when drawing a ListView control using uxtheme API.

But when drawing a ListView ListItem (LVP_LISTITEM) background through DrawThemeBackgroundEx it always gets drawn in this explorer like light blue when selected (LISS_SELECTED) or some light grey when selected but not active (LISS_SELECTEDNOTFOCUS).

Is there a way to have the selection color altered to some other color than this blue and grey which seems to be hardcoded in the theme?

0

There are 0 best solutions below