I have an api in vb6 responsible for generating reports from listview type components. It turns out that the report consists of a table with several columns that are mirrored in the ListView. The measure of the column in the report is given by the number of characters it contains ... example:
Column2 = Column2 is 7 characters or less in length.
However, you give the size of the report column based on the size of the text displayed in the column in the listview. That is, if I reduce the size of the column in the listivew and the text looks like "Colu" instead of "Column2" then I want to send the new size "Colu" = 4 to my report.
But it is difficult to have this measure ... as for example, could I know how many characters are being displayed within that column in the listview? Considering that it has been resized by the user and may be cutting some text in half.