J
JTeagle
I have a list view control which, when too narrow widthways, truncates
the items automatically with '...'. This is exactly how I want it to
behave when it's not wide enough, but I wondered if anyone knew a way
to tell if it *has* truncated an item in a column for this reason? (I
want to widen the form it sits on as much as necessary to fit
everything in without truncating, if possible, and if the user wants
that behaviour.)
The long-winded way would be to grab the text, grab the font, measure
the text, and compare against the rectangle of the cell - but I was
hoping there was a less cumbersome way in VB!
the items automatically with '...'. This is exactly how I want it to
behave when it's not wide enough, but I wondered if anyone knew a way
to tell if it *has* truncated an item in a column for this reason? (I
want to widen the form it sits on as much as necessary to fit
everything in without truncating, if possible, and if the user wants
that behaviour.)
The long-winded way would be to grab the text, grab the font, measure
the text, and compare against the rectangle of the cell - but I was
hoping there was a less cumbersome way in VB!