Condividi tramite


CAnimationManagerEventHandler Class

Implements a callback, which is called by the Animation API when a status of an animation manager is changed.

class CAnimationManagerEventHandler : public CUIAnimationManagerEventHandlerBase<CAnimationManagerEventHandler>;

Members

Public Constructors

Name

Description

CAnimationManagerEventHandler::CAnimationManagerEventHandler

Constructs a CAnimationManagerEventHandler object.

Public Methods

Name

Description

CAnimationManagerEventHandler::CreateInstance

Creates an instance of CAnimationManagerEventHandler object.

CAnimationManagerEventHandler::OnManagerStatusChanged

Called when a status of animation manager has changed. (Overrides CUIAnimationManagerEventHandlerBase::OnManagerStatusChanged.)

CAnimationManagerEventHandler::SetAnimationController

Stores a pointer to animation controller to route events.

Remarks

This event handler is created and passed to IUIAnimationManager::SetManagerEventHandler method, when you call CAnimationController::EnableAnimationManagerEvent.

Inheritance Hierarchy

CUIAnimationCallbackBase

CUIAnimationManagerEventHandlerBase

CAnimationManagerEventHandler

Requirements

Header: afxanimationcontroller.h

See Also

Other Resources

MFC Classes