
How to get the widths of the columns in a ListView
With the follwoing command I set the widths of the 3 columns of my
ListView 'Sample_ListView':
With Sample_ListView
.View = lvwReport
Set ColumnHeader_Item = .ColumnHeaders.Add(, , "Text1", Width1,
lvwColumnLeft)
Set ColumnHeader_Item = .ColumnHeaders.Add(, , "Text2", Width2,
lvwColumnLeft)
Set ColumnHeader_Item = .ColumnHeaders.Add(, , "Text3", Width3,
lvwColumnLeft)
End With
Now the user can resize the widths of the columns with the mouse.
But how can I get the actual widths of each column?
Any help and information is very appreciated
Stefan