I have a TListView using vsReport with 4 columns that each contain text. I am also using the OnDrawItem event with OwnerDraw := TRUE to draw the icon and text and alternating row color.
When I resize a column the data is the rows does not get redrawn. I want the rows to redraw as I resize the column. What happens is that if you drag the column splitter to enlarge the column you get text from the adjacent column in the resized column. I have a sample program if that would help.
I've tried using ListView.Repaint, ListView.Refresh, ListView.Update.
What message do I need to send to get the redraw real time?
I'm using Delphi 2005 w/update3 and XP w/sp2