Share via


CAnimationController::FindAnimationGroup

Visual Studio 2010 SP1 is required.

Finds an animation group by its Group ID.

CAnimationGroup* FindAnimationGroup(
   UINT32 nGroupID
);
CAnimationGroup* FindAnimationGroup(
   IUIAnimationStoryboard* pStoryboard
);

Parameters

  • nGroupID
    Specifies a GroupID.

  • pStoryboard
    A pointer to a storyboard.

Return Value

A pointer to animation group or NULL if the group with specified ID is not found.

Remarks

Use this method to find an animation group at runtime. A group is created and added to the internal list of animation groups when a first animation object with particular GroupID is being added to animation controller.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationController Class