G
Guest
I have a treeview derived control placed within Panel2 of a SplitContainer
control on a form. The TreeView flickers during updates so I set the
DoubleBuffered attribute to true (in the constructor of my class derived from
TreeView).
It still flickers so I was thinking that it could be that DoubleBuffered
also needs to be set within the parent panel that contains this TreeView
derived control. However, in this case, the parent is a panel that belongs
to a SplitContainer. Of course, I can't directly set the DoubleBuffered
property of Panel2 and I was wondering if there is some other way to do this
or if I'm on the wrong track altogether.
Also, I'm using C++/CLI and the tree view nodes are user-drawn, does this
for any reason automatically rule out the use of double buffering on the
related tree view?
Thanks
David
control on a form. The TreeView flickers during updates so I set the
DoubleBuffered attribute to true (in the constructor of my class derived from
TreeView).
It still flickers so I was thinking that it could be that DoubleBuffered
also needs to be set within the parent panel that contains this TreeView
derived control. However, in this case, the parent is a panel that belongs
to a SplitContainer. Of course, I can't directly set the DoubleBuffered
property of Panel2 and I was wondering if there is some other way to do this
or if I'm on the wrong track altogether.
Also, I'm using C++/CLI and the tree view nodes are user-drawn, does this
for any reason automatically rule out the use of double buffering on the
related tree view?
Thanks
David