Condividi tramite


CAnimationVariableIntegerChangeHandler::OnIntegerValueChanged

Chiamato quando un valore della variabile di animazione è stato modificato.

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

Parametri

  • storyboard
    Lo storyboard che sta aggiungendo un'animazione alla variabile.

  • variable
    La variabile di animazione che è stata aggiornata.

  • newValue
    Il nuovo valore arrotondato.

  • previousValue
    Il valore arrotondato precedente.

Valore restituito

S_OK se il metodo è stato completato correttamente; in caso contrario E_FAIL.

Requisiti

Intestazione: afxanimationcontroller.h

Vedere anche

Riferimenti

Classe CAnimationVariableIntegerChangeHandler