acAnimateWindow procedure
Advanced GDI routines |
![]() ![]() ![]() |
acGraphics
|
procedure acAnimateWindow(Form: TForm; Time: Word; AnimationType: TacWin2kAnimationFlags; Open: Boolean);
|
The acAnimateWindow procedure produces special effects when showing or hiding windows. There are three types of animation: roll, slide and alpha-blended fade (blending works on Win2000 and higher).
|
|
Use the acAnimateWindow in OnShow and OnClose events of your form. Also you can use acWin2kEffects component instead of this procedure.
|
Form | Pointer to the form to animate;
|
Time | Duration of animation;
|
AnimationType | Flags specifying the type of the animation;
|
Open | Which effect to draw. Set Open parameter to True to show the opening effect and False to show the hiding effect.
|
Windows NT/2000: Requires Windows 2000 or later.
|
Windows 95/98: Requires Windows 98 or later.
|
|
![]() |
acWin2kEffects component and AnimateWindow function.
|