...but it is built for a Windows Forms app, and will not work on the Compact Framework 1.0 Smart Device.
(Link to Custom ListView Column Header Class)
All I would like to do is to be able to just use a ColumnHeader in the ListView to be able to use Images in the ColumnHeader.
What I was wondering was if you could help me strip out all the unnecessary code that is making the app fall over when run on a SmartDevice.
Hope you can help.
Thanks
Tryst

Would like to use this Custom ListView Column Header class...
khiemvo
Getting this to work on .NETCF would be a truly non-trivial task. .NETCF doesn't expose a lot of the stuff demonstrated in that code. You may be able to get it work, but it is not likely to happen using this forum as a medium for engagement.
Among the things you'll need to do is determine the window handle for the listview header and hook it's WndProc and handle the WM_PAINT message. Here is something you may want to look into to get started:
You can hook the underlying WM_PAINT message and do with it what you want.
See this article for more information: "Subclassing controls in .NETCF 2.0"
part 1: http://blogs.msdn.com/netcfteam/archive/2005/05/20/420551.aspx
part 2: http://blogs.msdn.com/netcfteam/archive/2005/05/23/421143.aspx
Eng. Bajram Fejza
Tryst