Flicker in setting opacity.

  • Thread starter Thread starter Frank Rizzo
  • Start date Start date
F

Frank Rizzo

I have a little animation where I fade out the form by manipulating its
opacity. However, the screen seems to flicker just a little bit. Are
there any tricks to making the form disappear smoother?

Thanks
 
Try using double buffering on your control, it will draw the image in memory
first i.e.
this.SetStyle(ControlStyles.DoubleBuffer, true);
or
this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);

Cathal
 

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

Similar Threads


Back
Top