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 ?
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 ?