Share via


CAnimationRect::CAnimationRect

Constructs a CAnimationRect object.

CAnimationRect();
CAnimationRect(
   const CRect& rect,
   UINT32 nGroupID,
   UINT32 nObjectID = (UINT32)-1,
   DWORD dwUserData = 0
);
CAnimationRect(
   const CPoint& pt,
   const CSize& sz,
   UINT32 nGroupID,
   UINT32 nObjectID = (UINT32)-1,
   DWORD dwUserData = 0
);
CAnimationRect(
   int nLeft,
   int nTop,
   int nRight,
   int nBottom,
   UINT32 nGroupID,
   UINT32 nObjectID = (UINT32)-1,
   DWORD dwUserData = 0
);

Parameters

  • rect
    Specifies default rectangle.

  • nGroupID
    Specifies Group ID.

  • nObjectID
    Specifies Object ID.

  • dwUserData
    Specifies user-defined data.

  • pt
    Coordinate of top-left corner.

  • sz
    Size of rectangle.

  • nLeft
    Specifies coordinate of left bound.

  • nTop
    Specifies coordinate of top bound.

  • nRight
    Specifies coordinate of right bound.

  • nBottom
    Specifies coordinate of bottom bound.

Remarks

The object is constructed with default values for left, top, right and bottom, Object ID and Group ID, which will be set to 0. They can be changed later at runtime using SetDefaultValue and SetID.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationRect Class