How Do I Display A Splash Screen When My Application Launches?
This lesson will show you how to create a splash window that displays while your application launches.
You should have your application open in the IDE before starting this lesson.
Create a New Mainstack
Save Stack File
Add To List of Stacks
Tell the Framework To Display the Splash Window
Set the Splash stack file name to components/splash.rev.
Set the Show splash stack for setting to the minimum amount of time you want the splash window to appear. The framework will show the stack for at least this long but the splash window will not disappear until after the glxapp_openApplication is sent.
The Result
Now when the application launches the splash window will appear. It is up to the developer to add any code that affects the splash window behavior. Keep in mind that the splash window is one of the first stacks loaded. When the splash window opens your application preferences will be available but your application stacks will not be.
0 Comments
Add your comment