Condividi tramite


CAnimationBaseObject::EnableValueChangedEvent

Sets up Value Changed event handler.

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

Parameters

  • pController
    A pointer to a parent controller.

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

Remarks

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

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationBaseObject Class