In a listview control with several columns if you doubleclick on the separator vertical line between columns headers you'll get the column resized to allow seing all the text on the column.
Is there anyway I can reproduce this action in code ?
The idea is to be able to set the optimal width of the columns at runtime in order to be able to see all the text on the listview.
Any other ideas?


Reply With Quote