Re: ListView with Icons
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 15 Mar 2006 10:04:44 -0500
Curious,
You would have to custom draw these items yourself. What I would do is
derive a class from ListView and override the OnPaint method. There, you
would call the base (to paint the control), then figure out the bounds of
the headers and draw your icons in there.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Curious" <theone@xxxxxxxxxxxxxxxxxx> wrote in message
news:1142434849.007839.61340@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a listview with the View property set as Details. I have set 4
columns, and now I am trying to set some Icons on the column headers.
Is this possible?
Thanks in Advance
.
- References:
- ListView with Icons
- From: Curious
- ListView with Icons
- Prev by Date: Re: Events vs. Delegates
- Next by Date: Re: static class confirmation
- Previous by thread: ListView with Icons
- Next by thread: Re: MultiSelect ComboBox?
- Index(es):
Relevant Pages
|