DrawAnimatedRects function (winuser.h)
Animates the caption of a window to indicate the opening of an icon or the minimizing or maximizing of a window.
BOOL DrawAnimatedRects( HWND hwnd, int idAni, const RECT *lprcFrom, const RECT *lprcTo );
A handle to the window whose caption should be animated on the screen. The animation will be clipped to the parent of this window.
The type of animation. This must be IDANI_CAPTION. With the IDANI_CAPTION animation type, the window caption will animate from the position specified by lprcFrom to the position specified by lprcTo. The effect is similar to minimizing or maximizing a window.
A pointer to a RECT structure specifying the location and size of the icon or minimized window. Coordinates are relative to the clipping window hwnd.
A pointer to a RECT structure specifying the location and size of the restored window. Coordinates are relative to the clipping window hwnd.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||winuser.h (include Windows.h)|