Share via


CAnimationGroup::SetAutodestroyTransitions

Directs all animation objects that belong to group automatically destroy transitions.

void SetAutodestroyTransitions(
   BOOL bAutoDestroy = TRUE
);

Parameters

  • bAutoDestroy
    Specifies how to destroy transitions.

Remarks

Set this value to FALSE only if you allocate transitions on the stack. The default value is TRUE, therefore it's highly recommended to allocate transition objects using operator new.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationGroup Class