Share via


CAnimationController::ScheduleGroup

Schedules an animation.

BOOL ScheduleGroup(
   UINT32 nGroupID,
   UI_ANIMATION_SECONDS time = 0.0
);

Parameters

  • nGroupID
    Specifies animation Group ID to schedule.

  • time
    Specifies time to schedule.

Return Value

TRUE if animation was scheduled successfully. FALSE if storyboard has not been created, or other error occurs.

Remarks

You must call AnimateGroup with parameter bScheduleNow set to FALSE prior ScheduleGroup. You can specify the desired animation time obtained from IUIAnimationTimer::GetTime. If the time parameter is 0.0, the animation is scheduled for the current time.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationController Class