<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > Windows API > Win_AnimateWindow |
Description
Produce special effects when showing or hiding windows.
There are four types of animation: roll, slide, collapse or expand, and alpha-blended fade.
Syntax
n = Win_AnimateWindow(hWnd, dwTime, dwFlags)
Returns
Number. If the function succeeds, the return value is nonzero.
Parameters
Name |
Type |
Optional |
Meaning |
||||||||||||||||||
hWnd |
Number |
No |
Handle to the window to animate. The calling thread must own this window. |
||||||||||||||||||
dwTime |
Number |
No |
Specifies how long it takes to play the animation, in milliseconds. Typically, an animation takes 200 milliseconds to play. |
||||||||||||||||||
dwFlags |
Number |
No |
Specifies the type of animation. This parameter can be one or more of the following values. Note that, by default, these flags take effect when showing a window. To take effect when hiding a window, use %AW_HIDE and a logical OR operator with the appropriate flags.
|
Remarks
For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/ms632669(VS.85).aspx
Restrictions
See also
Examples