|
-
Jun 1st, 2005, 05:51 AM
#1
Thread Starter
New Member
Flicker Free Listview - VB.NET
Hi,
I'm using a listview control as a log window for a self-made FTP client application.
Sometimes I need to add a row at slow speeds, but also sometimes a lot of information (50-100 rows, like dirlistings, login messages of FTP servers) has to be added to the listview within a For/Next loop.
Now adding rows very quickly makes the listview flicker in an ennoying way. So much, the listview is hardly to read.
For me, it is important I can see every row added (using different colors to know different meanings).
Searching the internet, I find solutions using BeginUpdate & Endupdate of the listview control just outside the bounds of the For/Next loop. This makes that the new rows are displayed only when the For/Next loop is complete.
For me, that is no solution, because I have to see every row that is added very quickly (remeber the different colors I use).
Does anyone know a solution to significant reduce the flickering (maybe without using BeginUpdate & EndUpdate?), but where I still can see every single row added?
(Solutions must exist, because commercial FTP clients don't have that flickering in their log windews)
A solution using VB.NET or API would be most welcome (but a solution in another language like C++ or C# is also welcome).
If possible, please add a code sample, then just pointing to some method, because It will be a lot easier for me to implement then!
Thx very much!
djrud
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|