I am working with a listview that is using LVS_OWNERDATA flag. All is working ok, but I can not get the listviews column width to autosize to the largest text string.
All the parameters for auto setting the width do work:
but...it only works for the current displayed listview items. When I scroll down the listview larger text strings get truncated with dots (because the listview does not know the other text strings because of LVS_OWNERDATA)
Before coding something to calculate the largest text width and setting the column to that size, I would like to know if there are any other solutions to autosize a column in a listview with LVS_OWNERDATA.