
Q: How to get rid of ListView flicker when adding/removing items
Hi,
I am using the ListView control in the Report mode. I am receiving intermittant
alarms and adding the alarms into the ListView. Every time a alarm is added or
removed the whole ListView flickers. Sine the alarms are comming in at 2 or 3
per second the flicker is annoying.
Is there any way to remove the flicker ? I have checked all the MSDN and the web
but with no luck.
I have tried using the LockWindowUpdate API call but it makes things worse, the
whole Win95 screen flickers when the LockWindowUpdate is reset. I can not batch
the inserts in 100 row lots, I need to see the alarms come in as they are sent
to the application.
Can anybody help.
Thanks
Joe
PS: Using VB6 SP3