How to set icon to a list view column header? In VB6 it can be done simple by:
lvLines.ColumnHeaders(1).Icon = 3,
but I found nothing similar for VB.NET list view.
Printable View
How to set icon to a list view column header? In VB6 it can be done simple by:
lvLines.ColumnHeaders(1).Icon = 3,
but I found nothing similar for VB.NET list view.
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemwindowsformscolumnheadermemberstopic.htm
ColumnHeader doesn't appear to expose an icon property?
Duh I can't read!
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemwindowsformslistviewitemclassctortopic5.htm
Initializes a new instance of the ListViewItem class with specified item text and the image index position of the item's icon.
There ya go!
Unfortunately that code will instantaite only ListView item (with an icon), but not a header with an icon.
Dang, sorry :/ Wish I knew more about customizing controls.