![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| 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 | |||