Click here to Skip to main content
15,898,766 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to get Header with solid grey colour for clistctrl

What I have tried:

Header comes in default white colour not grey
Posted
Updated 30-May-18 3:06am

1 solution

This requires using a derived header control with owner drawing and subclassing an instance of that in a derived list control.

A quick web search for "clistctrl header background color" found a solution so that I don't have to explain in detail: c++ - Changing MFC List Control header color - Stack Overflow[^].
 
Share this answer
 

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