共用方式為


CAnimationBaseObject::EnableIntegerValueChangedEvent

Sets up Integer Value Changed event handler.

virtual void EnableIntegerValueChangedEvent(
   CAnimationController* pController,
   BOOL bEnable
);

Parameters

  • pController
    A pointer to a parent controller.

  • bEnable
    Specifies whether to enable, or disable Integer Value Changed event.

Remarks

If the Integer Value Changed event handler is enabled, you can handle this event in CAnimationController::OnAnimationIntegerValueChanged method, which should be overridden in a CAnimationController-derived class. This method is called every time the animation integer value has changed.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationBaseObject Class