Поделиться через


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

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart