Form Resize

  • Thread starter Thread starter Jagan
  • Start date Start date
J

Jagan

Hi,

When i do a dock change (meaning changing a component's
docking property) the screen flickers. Is there a way to
control flickering effect and provide a smooth resize.

Thanks,
Jagan Mohan
 
Hi,

Try calling SuspendLayout() before changing the Dock value and calling
ResumeLayout() just after you've changed the Dock value.
 

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

Back
Top