共用方式為


CAnimationColor::CAnimationColor

Constructs a CAnimationColor object.

CAnimationColor();
CAnimationColor(
   COLORREF color,
   UINT32 nGroupID,
   UINT32 nObjectID = (UINT32)-1,
   DWORD dwUserData = 0
);

Parameters

  • color
    Specifies default color.

  • nGroupID
    Specifies Group ID.

  • nObjectID
    Specifies Object ID.

  • dwUserData
    Specifies user-defined data.

Remarks

The object is constructed with default values for red, green, blue, 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

CAnimationColor Class