Updating rows in a ListView causes flickering

Updating rows in a ListView causes flickering

Post by Scot » Sun, 17 Aug 2003 02:04:46


I have a ListView in a C# program that continually updates statistics
about once a second using a GUI Timer. I'm updating several columns
in most rows using the SubItems.Text field and setting it to a new
value.

At the beginning of the timer method, I call ListView.BeginUpdate()
and at the end EndUpdate(), but this doesn't help at all. With only
30 rows of 5 columns, the ListView flickers constantly. How can I fix
this?

Thanks for any help!