DrawAnimatedRects  4A_._0 

[Now Supported on Windows NT]

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)

   );

 

 

Parameters

hwnd

Handle to the window to which the rectangle is clipped. If this parameter is NULL, the working area of the screen is used.

idAni

This parameter is reserved and must be zero.

lprcFrom

Points to a SMALL_RECTFK9BC structure specifying the location and size of the icon or minimized window. Coordinates are relative to the rectangle specified by the lprcClip parameter.

lprcTo

Points to a SMALL_RECT structure specifying the location and size of the restored window. Coordinates are relative to the rectangle specified by the lprcClip parameter.

 

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

See Also

SMALL_RECT