![]() |
|
|
#1 |
|
Guest
Posts: n/a
|
window fadeout (intro transparency)
Hi
i'm trying to make a window 'fade out'. i do something like this: Dim opac As Decimal For opac = 1 To 0 Step -0.05 me.opacity = opac Next (this is a highly simplified version of what i actually do) the point is, it flickers. it seems like when the window's opacity is first changed (say, from 1 to 0.95) it flickers. later on it fades out ok. just the first move to transpaerncy is not smooth. this occures every time with many different types of windows i tried it on. anybody else had that experience? any idea what can be done? thanks |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Re: window fadeout (intro transparency)
Are you using double buffering?
http://getdotnetco.web119.discountas...Operations.htm -- Mike Mike McIntyre [MVP] http://www.getdotnetcode.com <yoni@nobhillsoft.com> wrote in message news:1190433287.284310.120730@19g2000hsx.googlegro ups.com... > Hi > i'm trying to make a window 'fade out'. i do something like this: > > Dim opac As Decimal > For opac = 1 To 0 Step -0.05 > me.opacity = opac > Next > > (this is a highly simplified version of what i actually do) > the point is, it flickers. it seems like when the window's opacity is > first changed (say, from 1 to 0.95) it flickers. later on it fades out > ok. just the first move to transpaerncy is not smooth. this occures > every time with many different types of windows i tried it on. anybody > else had that experience? any idea what can be done? > > thanks > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Re: window fadeout (intro transparency)
works like magic!! thanks!!!
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: problems with task bar transparency | eqblanco3 | Windows Vista All | 2 | 19-08-2007 05:24 PM |
| Sidebar background transparency | Ed | Windows Vista All | 3 | 18-08-2007 01:59 AM |
| window transparency? | A | Windows Vista All | 7 | 17-08-2007 05:34 PM |
| Classic theme with transparency? | Man-wai Chang | Windows Vista All | 2 | 17-08-2007 04:27 PM |
| Transparency issue on XP | LC | Windows XP | 2 | 16-08-2007 01:34 PM |