[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

Methods of loading a listview and treeview with over 1000 items without delay/flicker,...

Kerem G?mr?kc?

8/1/2008 12:01:00 PM

Hi,

i am looking for a way to clear and fill a listview and
right after a treeview nearly flicker and delay free. The
TreeView and Listview contain Images and about 1000
Items. What can someone recommend me how i can do
this, with as less delay and flicker as possible,...

What are the right steps and methdods for this. What to
do before clearing tree- and listview and what to do while
loading the list- and treeview and what to do after finishing
loading them,...

What is the fastest and flicker-free'est method for this?

Thanks in advance,...

Regards

Kerem


--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.codeplex.co...
Latest Open-Source Projects: http://entwicklung...
-----------------------
"This reply is provided as is, without warranty express or implied."

1 Answer

Marc Gravell

8/1/2008 12:13:00 PM

0

Well, you can try wrapping the changes in BeginUpdate()/EndUpdate() -
that will probably solve everything.

If not, try creating it hidden then showing at the end, ensuring
buffering is enabled, or using VirtualMode (a bit extreme for 1000 items).

Marc