Click to See Complete Forum and Search --> : How to skin column headers under WinAPi


NotH
May 17th, 2006, 03:41 AM
Hi,

I donīt know how to create coloured column header under WinApi ( no MFC)

I havenīt any idea .

I want my own colour for column header ( Listview )

I try it here .


Sorry to my bad English .


NotH

JamesSchumacher
May 17th, 2006, 05:10 PM
Use a header control instead...

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/header/header.asp

Subclass the window, and intercept WM_ERASEBKGND message.