Partager via


CAnimationStoryboardEventHandler Class

Implements a callback, which is called by the Animation API when the status of a storyboard is changed or a storyboard is updated.

class CAnimationStoryboardEventHandler : public CUIAnimationStoryboardEventHandlerBase<CAnimationStoryboardEventHandler>;

Members

Public Constructors

Name

Description

CAnimationStoryboardEventHandler::CAnimationStoryboardEventHandler

Constructs a CAnimationStoryboardEventHandler object.

Public Methods

Name

Description

CAnimationStoryboardEventHandler::CreateInstance

Creates an instance of CAnimationStoryboardEventHandler callback.

CAnimationStoryboardEventHandler::OnStoryboardStatusChanged

Handles OnStoryboardStatusChanged events, which occur when a storyboard's status changes (Overrides CUIAnimationStoryboardEventHandlerBase::OnStoryboardStatusChanged.)

CAnimationStoryboardEventHandler::OnStoryboardUpdated

Handles OnStoryboardUpdated events, which occur when a storyboard is updated (Overrides CUIAnimationStoryboardEventHandlerBase::OnStoryboardUpdated.)

CAnimationStoryboardEventHandler::SetAnimationController

Stores a pointer to animation controller to route events.

Remarks

This event handler is created and passed to IUIAnimationStoryboard::SetStoryboardEventHandler method, when you call CAnimationController::EnableStoryboardEventHandler.

Inheritance Hierarchy

CUIAnimationCallbackBase

CUIAnimationStoryboardEventHandlerBase

CAnimationStoryboardEventHandler

Requirements

Header: afxanimationcontroller.h

See Also

Other Resources

MFC Classes