Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - WPF Splash?

 
 
Old 01-28-2008   #1 (permalink)
john


 
 

WPF Splash?

All:

It is possible to display a splash screen in WPF, wait for an
animation to finish, and then display the application's main window?

I've tried a variety of things, e.g., putting splash->animation->main
window sequence in the App() constructor, overriding OnStartup, trying
to use Thread.Sleep() --- all to no avail.

What I want is: splash->animation fades splash to transparent->main
window launches when animation finishes.

Any help appreciated.

Thanks,
John



My System SpecsSystem Spec
Old 02-14-2008   #2 (permalink)
BladeWise


 
 

Re: WPF Splash?

Hi John, I'm trying to accomplish almost the same thing, and getting a
strange behaviour.
Please, have a look at the post here
http://forums.microsoft.com/MSDN/Sho...38249&SiteID=1
there is some sample code to display a splash screen and show the main
window on splash closed.
In the example I use a simple RotationTransform as animation, but you
can define easily a fade-in/fade-out
animation and start/begin it from code-behind.
I have a splash that fades in, load some data and then closes showing
the main window, so the method in the post
can be applied to your scenario too... the only issue is with the
window closing before animation timeline has finished, but
you should not have this problem (and can read about it in the
previous cited post).
My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Splash screen Live Mail
How to remove WLM splash Live Mail
Splash Screen Vista mail
Splash screen Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46