Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IUIAnimationStoryboardEventHandler::OnStoryboardUpdated method

Handles events that occur when a storyboard is updated.

Syntax


HRESULT OnStoryboardUpdated(
  [in] IUIAnimationStoryboard *storyboard
);

Parameters

storyboard [in]

The storyboard that has been updated.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Remarks

This method is called when the value of at least one of the variables that a storyboard is animating has changed since the last call to the IUIAnimationManager::Update method.

By default, a call made in a callback method to any other animation method results in the call failing and returning UI_E_ILLEGAL_REENTRANCY. However, there are exceptions to this default. The following methods can be successfully called from OnStoryboardUpdated:

Requirements

Minimum supported client

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

Minimum supported server

None supported

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

See also

IUIAnimationStoryboardEventHandler
IUIAnimationManager::Update
IUIAnimationStoryboard
IUIAnimationStoryboard::GetElapsedTime

 

 

Show:
© 2016 Microsoft