Hi set the following styles in the constructor of the form:
'Add any initialization after the InitializeComponent() call
Me.SetStyle(ControlStyles.DoubleBuffer Or
ControlStyles.AllPaintingInWmPaint, True)
Me.UpdateStyles()
Normaly it should work and look smooth.
Hope this helps,
Greetz Peter
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)
"Cylix" <cy*******@gmail.comschreef in bericht
news:11**********************@i3g2000cwc.googlegro ups.com...
I have a form with a irregular background image, let say a circle.
I would like the form shows and that fade out and close slowly.
I have already done the fade out part by the timmer to set the form
opacity.
However, I set the transparent key of the form be white in color,
when the form start to fade out, The white part of the form is not
transparent anymore,
How can the white color part of the form keep transparent?
Please help!! Thank you.