共用方式為


CAnimationBaseObject::SetAutodestroyTransitions

Sets a flag that orders to automatically destroy transitions.

void SetAutodestroyTransitions(
   BOOL bValue
);

Parameters

  • bValue
    Specifies the auto destroy flag.

Remarks

Set this flag only if you allocated transition objects using operator new. If for some reason transition objects are allocated on the stack, the auto destroy flag should be FALSE. By default this flag is TRUE.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationBaseObject Class