The DrawAnimatedRects function draws a wire-frame rectangle and animates it to indicate the opening of an icon or the minimizing or maximizing of a window.
BOOL WINAPI DrawAnimatedRects(
HWND hwnd, // handle to clipping window
int idAni, // type of animation
CONST RECT *lprcFrom,
// pointer to rectangle coordinates (minimized)
CONST RECT *lprcTo
// pointer to rectangle coordinates (restored)
);
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Windows NT: To get extended error information, call GetLastError.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Painting and Drawing Overview, Painting and Drawing Functions, RECT