Home All Groups Group Topic Archive Search About
Author
15 Feb 2006 1:27 PM
Jon Turner
I have a MDI app with a treeview that controls the displaying/activation of
a MDI Child.  Problem is that
when activating/showing the MDI child,  I get a flicker caused by the
Repaint of the activated child.

Question is:   How do I turn off the repaint until the child has rendered
all of its controls ?

Many Thanks

Author
16 Feb 2006 7:25 AM
R. MacDonald
Hello, Jon,

I'm not exactly sure of your situation, but I think you may find
"SuspendLayout" and "ResumeLayout" helpful for this.

Cheers,
Randy


Jon Turner wrote:
Show quoteHide quote
> I have a MDI app with a treeview that controls the displaying/activation of
> a MDI Child.  Problem is that
> when activating/showing the MDI child,  I get a flicker caused by the
> Repaint of the activated child.
>
> Question is:   How do I turn off the repaint until the child has rendered
> all of its controls ?
>
> Many Thanks
>
>