Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IUIAnimationTimerEventHandler::OnPreUpdate method

Handles events that occur before an animation update begins.

Syntax


HRESULT OnPreUpdate();

Parameters

This method has no parameters.

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:

OnPreUpdate and OnPostUpdate are called on the IUIAnimationTimerEventHandler registered with the IUIAnimationTimer::SetTimerEventHandler method. OnUpdate is called on the IUIAnimationTimerUpdateHandler registered with the IUIAnimationTimer::SetTimerUpdateHandler method.

Requirements

Minimum supported client

Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

None supported [desktop apps | Windows Store apps]

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

See also

IUIAnimationTimerEventHandler
SetTimerEventHandler

 

 

Community Additions

ADD
Show:
© 2015 Microsoft