Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Handles events that occur before an animation update begins.
Syntax
HRESULT OnPreUpdate();
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See UIAnimation Error Codes for a list of error codes.
Remarks
For each tick, a timer calls the following sequence of methods:
- IUIAnimationTimerEventHandler::OnPreUpdate
- IUIAnimationTimerUpdateHandler::OnUpdate
- IUIAnimationTimerEventHandler::OnPostUpdate
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | UWP apps] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | uianimation.h |
| DLL | UIAnimation.dll |