Export (0) Print
Expand All
MFC
Expand Minimize

CWnd::DrawAnimatedRects

Draws a wire-frame rectangle and animates it to indicate the opening of an icon or the minimizing or maximizing of a window.

BOOL DrawAnimatedRects(
   int idAni,
   CONST RECT *lprcFrom,
   CONST RECT *lprcTo
);

idAni

Specifies the type of animation. If you specify IDANI_CAPTION, 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.

lprcFrom

Pointer to a RECT structure specifying the location and size of the icon or minimized window.

lprcTo

Pointer to a RECT structure specifying the location and size of the restored window

Nonzero if the function succeeds; otherwise 0.

This member function emulates the functionality of the function DrawAnimatedRects, as described in the Windows SDK.

Header: afxwin.h

Community Additions

ADD
Show:
© 2014 Microsoft