共用方式為


CBaseTransition::GetTransition

Returns a pointer to underlying COM transition object.

IUIAnimationTransition* GetTransition(
   IUIAnimationTransitionLibrary* pLibrary,
   IUIAnimationTransitionFactory* pFactory
);
IUIAnimationTransition* GetTransition();

Parameters

  • pLibrary
    A pointer to transition library, which creates standard transitions. It can be NULL for custom transitions.

  • pFactory
    A pointer to transition factory, which creates custom transitions. It can be NULL for standard transitions.

Return Value

A valid pointer to IUIAnimationTransition or NULL if underlying transition can't be created.

Remarks

This method returns a pointer to underlying COM transition object and creates it if necessary.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CBaseTransition Class