|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Fade out problem on a form with irregular backgroud imageI 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. 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 -- Show quoteHide quoteProgramming 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" <cylix2***@gmail.com> schreef in bericht news:1156835697.770172.325880@i3g2000cwc.googlegroups.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. >
Unicode conversion
Net.WebRequest - Close Connection Resource and Time consuming stuff Please explain the difference between close, dispose, = nothing on sqlClient. Returning an array from a function? Visual Studio beginner questions MAking a bound form from a query GDI Handle leak when adding a simple Textbox First Report in VB2005 - Print Preview Formato numerico |
|||||||||||||||||||||||