CBaseTransition::Create

Visual Studio 2010 SP1 is required.

Creates a COM transition.

virtual BOOL Create(
   IUIAnimationTransitionLibrary* pLibrary,
   IUIAnimationTransitionFactory* pFactory
) = 0;

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

TRUE if a transition COM object was created successfully; otherwise FALSE.

Remarks

This is a pure virtual function that must be overridden in a derived class. It's called by the framework to instantiate the underlying COM transition object.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CBaseTransition Class