Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2004

Tip: Looking for answers? Try searching our database.

Toolbar flickering on form resize

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
metalseb - 30 Sep 2004 15:05 GMT
Hi there.

I've got a form with several controls in it; treeview, tistview and a
toolbar. All the controls are anchored so that they resize according to the
form window resizing events. all is fine except for the toolbar and the
statusbar which flicker a lot while resizing the window. I'm using XP visual
style for all my controls.

I think I might enable double buffering but this is not possible for child
controls of the form. Pity. Any ideas to get rid of this ?

Signature

Seb

mklapp - 04 Oct 2004 14:23 GMT
Before changing the TreeView control, invoke the BeginUpdate method.  After
you have finished all the changes, invoke EndUpdate.  This way the control
will only draw once, not once for every item added, deleted or changed in the
tree view.  This should alleviate your flicker.

> Hi there.
>
[quoted text clipped - 6 lines]
> I think I might enable double buffering but this is not possible for child
> controls of the form. Pity. Any ideas to get rid of this ?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.