Share via


CAnimationVariableIntegerChangeHandler::OnIntegerValueChanged

Called when a value of an animation variable has changed.

IFACEMETHOD(
   OnIntegerValueChanged
) ( __in IUIAnimationStoryboard *storyboard, __in IUIAnimationVariable *variable, __in INT32 newValue, __in INT32 previousValue );

Parameters

  • storyboard
    The storyboard that is animating the variable.

  • variable
    The animation variable that was updated.

  • newValue
    The new rounded value.

  • previousValue
    The previous rounded value.

Return Value

S_OK if the method succeeds; otherwise E_FAIL.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationVariableIntegerChangeHandler Class