MDI Flicker

J

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
 
R

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top