Hi Darell,
There is no notion of a cell as an independent window having an HWND in
ListView, at least in the report/detail mode. If you need to implement
custom drawing, you will have to do just what the name implies - namely tap
into ListView's custom drawing framework to provide custom appearance for a
sub-item.
I remember there is a detailed article on CodeProject discussing how to
implement ListView custom drawing in .NET.
--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx
"redneon" <re*****@discussions.microsoft.com> wrote in message
news:D4**********************************@microsof t.com...
Is it possible to get the Handle property for a particular cell in a
ListView? I'm wanting to turn a cell into a progress bar rather than just
displaying text. If it's possible to get the Handle I can just do
Graphics.FromHwnd(listView1.Handle); and then use FillRectangle to display
the progress bar.
Any ideas?
Darrell