T
Tom P.
I am doing some special painting in a listview control. I have gotten
the drawing of the string to cut off and ellipse correctly in XP but
in Vista the cutoff and ellipse never happen. I know it's possible,
Windows File Manager does it - when a filename is too long it'll
ellipse the missing part. My control just wraps it to the next line. I
can't find a way to either set the height of the ListViewItem or get
the ellipse to happen correctly. What is going on? I use the
DrawListViewSubItemEventArgs.Bounds to draw the string but all that
happens is the string wraps to the next line.
Any help would be great.
Tom P.
the drawing of the string to cut off and ellipse correctly in XP but
in Vista the cutoff and ellipse never happen. I know it's possible,
Windows File Manager does it - when a filename is too long it'll
ellipse the missing part. My control just wraps it to the next line. I
can't find a way to either set the height of the ListViewItem or get
the ellipse to happen correctly. What is going on? I use the
DrawListViewSubItemEventArgs.Bounds to draw the string but all that
happens is the string wraps to the next line.
Any help would be great.
Tom P.