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
 
Back
Top