CAnimationTimerEventHandler Class

Visual Studio 2010 SP1 is required.

Implements a callback, which is called by the Animation API when timing events occur.

class CAnimationTimerEventHandler : public CUIAnimationTimerEventHandlerBase<CAnimationTimerEventHandler>;

Members

Public Methods

Name

Description

CAnimationTimerEventHandler::CreateInstance

Creates an instance of CAnimationTimerEventHandler callback.

CAnimationTimerEventHandler::OnPostUpdate

Handles events that occur after an animation update is finished.

CAnimationTimerEventHandler::OnPreUpdate

Handles events that occur before an animation update begins.

CAnimationTimerEventHandler::OnRenderingTooSlow

Handles events that occur when the rendering frame rate for an animation falls below the minimum desirable frame rate.

CAnimationTimerEventHandler::SetAnimationController

Stores a pointer to animation controller to route events.

Remarks

This event handler is created and passed to IUIAnimationTimer::SetTimerEventHandler when you call CAnimationController::EnableAnimationTimerEventHandler.

Inheritance Hierarchy

MFC Classes

CUIAnimationCallbackBase

CUIAnimationTimerEventHandlerBase

CAnimationTimerEventHandler

Requirements

Header: afxanimationcontroller.h

See Also

Other Resources

MFC Classes