IUIAnimationTimerEventHandler::OnPostUpdate 方法 (uianimation.h)

處理動畫更新完成之後所發生的事件。

Syntax

HRESULT OnPostUpdate();

傳回值

如果方法成功,它會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。 如需錯誤碼的清單,請參閱 UIAnimation 錯誤碼

備註

只有在呼叫 IUIAnimationTimerUpdateHandler::OnUpdate 傳UI_ANIMATION_UPDATE_VARIABLES_CHANGED的結果時,UIAnimationTimer 才會呼叫這個方法。

針對每個刻度,定時器會呼叫下列方法序列:

OnPreUpdateOnPostUpdate 是在向 IUIAnimationTimer::SetTimerEventHandler 註冊的 IUIAnimationTimer::SetTimerEventHandler 上呼叫。 在向 IUIAnimationTimer::SetTimerUpdateHandler 註冊的 IUIAnimationTimer::SetTimerUpdateHandler 上呼叫 OnUpdate

規格需求

需求
最低支援的用戶端 適用於 Windows Vista 的 Windows 7、Windows Vista 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 都不支援
目標平台 Windows
標頭 uianimation.h
Dll UIAnimation.dll

另請參閱

IUIAnimationTimer::SetTimerEventHandler

IUIAnimationTimerEventHandler