ListView Header Color

  • Thread starter Thread starter Adrian
  • Start date Start date
A

Adrian

Is there a simple way to give the column headers of a list view a fore
color?

Thanks,
Adrian.
 
Adrian,

From what I know, no, there is not. Unless you custom paint it, which
is quite a bit of a task (you would have to figure out the bounds of the
header and paint it yourself).

Hope this helps.
 
No there isn't. Header controls do support custom draw though
(NM_CUSTOMDRAW) but that is far from simple. I'd suggest checking
http://www.codeproject.com and see if someone has already made such a
control.

/claes
 
Thank you,
Adrian.

Nicholas Paldino said:
Adrian,

From what I know, no, there is not. Unless you custom paint it, which
is quite a bit of a task (you would have to figure out the bounds of the
header and paint it yourself).

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Adrian said:
Is there a simple way to give the column headers of a list view a fore
color?

Thanks,
Adrian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top