Sounds like your UI thread is blocked while the data download, so your form is not repainting. Try alt-tabbing away from & then back to your form during a large download & see if other controls also go white. If they do, that's most likely the problem. If that is it, I think the typical cure is to get your data on a background thread. I am not competant to give advice on how to do that (tho lots of others here are). In case it's of interest, I posted my own plan to get data on a background thread on the winforms list just yesterday: http://discuss.develop.com/archives/wa.exe?A2=ind0503c&L=dotnet-winforms&T=0&F=&S=&P=3192 Note tho that I'm asking for feedback on whether my approach will work, so you don't necessarily want to emulate me... HTH, -Roy
-----Original Message----- From: Unmoderated discussion of advanced .NET topics. on behalf of Tracy Ding Sent: Fri 3/18/2005 10:53 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Cc: Subject: [ADVANCED-DOTNET] TreeView is complete white for a blink Hi, I have a treeview, using afterselect event to start a child form in MDI container, but when data loading is big, the tree is complete white for a blink. I tried to user Beginupdate/Endupdate, but it doesn't help. Any idea about this ? Tracy Ding =================================== This list is hosted by DevelopMentor http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com