共用方式為


CAnimationBaseObject::ClearTransitions

Removes all related transitions.

virtual void ClearTransitions(
   BOOL bAutodestroy
);

Parameters

  • bAutodestroy
    Specifies whether to destroy transition objects automatically, or just remove them from the related list.

Remarks

Removes all related transitions and destroys them if bAutodestroy or m_bAutodestroyTransitions flag is TRUE. Transitions should be destroyed automatically only if they are not allocated on the stack. If the above flags are FALSE, transitions are just removed from the internal list of related transitions.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationBaseObject Class