次の方法で共有


CAnimationVariableIntegerChangeHandler::OnIntegerValueChanged

アニメーション変数の値が変化したときに呼び出されます。

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

パラメーター

  • storyboard
    変数のアニメーション化を実行しているストーリーボード。

  • variable
    更新されたアニメーション変数。

  • newValue
    丸められた新しい値。

  • previousValue
    丸められた前の値。

戻り値

メソッドが正常に終了した場合は S_OK、それ以外の場合は E_FAIL。

必要条件

ヘッダー: afxanimationcontroller.h

参照

関連項目

CAnimationVariableIntegerChangeHandler クラス