Windows Animation Tasks
The topics contained in this section describe the basic tasks required of applications that use Windows Animation Manager.
These tasks, in order, include:
In this section
|Create the Main Animation Objects
||To use Windows Animation in your application, the first step is to create a small set of main animation objects.
|Create Animation Variables
||An application must create an animation variable for each visual characteristic that is to be animated using Windows Animation.
|Update the Animation Manager and Draw Frames
||Each time an application schedules a storyboard, the application must supply the current time to the animation manager. The current time is also required when directing the animation manager to update its state and set all animation variables to the appropriate interpolated values.
|Read the Animation Variable Values
||Each time your application paints, it should read the current values of the animation variables that represent the visual characteristics to be animated.
|Create a Storyboard and Add Transitions
||To create an animation, an application must construct a storyboard.
|Schedule a Storyboard
||After a storyboard is created, it is scheduled by the animation manager.