共用方式為


CAnimationBaseObject::SetID

Sets new IDs.

void SetID(
   UINT32 nObjectID,
   UINT32 nGroupID = 0
);

Parameters

  • nObjectID
    Specifies new Object ID.

  • nGroupID
    Specifies new Group ID.

Remarks

Allows to change Object ID and Group ID. If the new Group ID differs from the current ID, an animation object is moved to another group (a new group will be created, if necessary).

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationBaseObject Class