共用方式為


CAnimationStoryboardEventHandler::OnStoryboardStatusChanged

Handles OnStoryboardStatusChanged events, which occur when a storyboard's status changes

IFACEMETHOD(
   OnStoryboardStatusChanged
) ( __in IUIAnimationStoryboard *storyboard, __in UI_ANIMATION_STORYBOARD_STATUS newStatus, __in UI_ANIMATION_STORYBOARD_STATUS previousStatus );

Parameters

  • storyboard
    A pointer to storyboard whose status has changed.

  • newStatus
    Specifies new storyboard status.

  • previousStatus
    Specifies previous storyboard status.

Return Value

S_OK if the method succeeds; otherwise E_FAIL.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationStoryboardEventHandler Class