TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > VB.NET

Reply
 
Thread Tools Display Modes
Old 22-09-2007, 10:51 AM   #1
yoni@nobhillsoft.com
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

  Reply With Quote
Old 22-09-2007, 09:41 PM   #2
Mike McIntyre
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
>



  Reply With Quote
Old 23-09-2007, 08:29 AM   #3
yoni@nobhillsoft.com
Guest
 
Posts: n/a
Re: window fadeout (intro transparency)

works like magic!! thanks!!!

  Reply With Quote
Reply

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

Google
 


All times are GMT +5.5. The time now is 02:42 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional