To accomplish this you can either store the loaded column widths or keep them in the ini you were thinking about then use a For Each loop to check the widths on exiting the form.
For Example...
Dim oItem As ListItem
For Each oItem In ListView1.ListItems
if oItem.Width <> (item's loaded width ini read or stored modular) Then
'Write to your INI the new value
End If
Next
That will loop through each list item in your list view and you can then check for changes after you find what item you are looking at. You can do that by checking what Key you assign that item.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.