It explains the process of creating an owner-drawn List control. Should be
able to modify the code to create an owner-drawn ListView control.
If you want a third-party solution, there is a commercial product called
AdvancedList put out by RESCO. An article detailing the use of the control
can be found at:
The downside (depending on your development budget) is the control costs
$79.95. Depending on the type of functionality you're trying to achieve,
this may help.
If someone could share their C# code for the Paint method for a DataGrid or
ListView I would be much grateful. I have been trying to get a .NET CF
version of our application going. But due to the minimum
functionality/resources of the CF (eVB has more functionality than CF, and
our current app is eVC), I'm faced with the difficult task of convincing the
people that .NET CF is the way forward. I hope Microsoft releases some
updated version of the CF with functionality enhancements to the DataGrid
and ListView controls since they are the best way of displaying information
in commercial applications.
Just be aware, that the AdvancedList does not easily, or quickly, support
ILists like the DataGrid and ListView do. Its also not necessarily a direct
DataGrid replacement, more of an expanded ListView.