共用方式為


CBaseKeyFrame::AddToStoryboard

Adds a keyframe to storyboard.

virtual BOOL AddToStoryboard(
   IUIAnimationStoryboard* pStoryboard,
   BOOL bDeepAdd
);

Parameters

  • pStoryboard
    A pointer to a storyboard.

  • bDeepAdd
    If this parameter is TRUE and the keyframe being added depends on some other keyframe or transition, this method tries to add this keyframe or transition to storyboard first.

Return Value

TRUE if keyframe was added to storyboard successfully; otherwise FALSE.

Remarks

This method is called to add a keyframe to storyboard.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CBaseKeyFrame Class