Share via


CAnimationVariableIntegerChangeHandler::OnIntegerValueChanged

Llamado cuando un valor de una variable de animación ha cambiado.

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

Parámetros

  • storyboard
    El guión gráfico que está animando la variable.

  • variable
    La variable de animación que estuvo actualizada.

  • newValue
    Nuevo valor redondeado.

  • previousValue
    Valor anterior redondeado.

Valor devuelto

S_OK si el método se ejecuta correctamente; de lo contrario es E_FAIL.

Requisitos

Encabezado: afxanimationcontroller.h

Vea también

Referencia

CAnimationVariableIntegerChangeHandler Class