Share via


CAnimationController::IsValid

Visual Studio 2010 SP1 is required.

Tells whether animation controller is valid.

BOOL IsValid() const;

Return Value

TRUE if animation controller is valid; otherwise FALSE.

Remarks

This method returns FALSE only if Windows Animation API is not supported on the current OS and creation of animation manager failed because it's not registered. You need to call GetUIAnimationManager at least once after initialization of COM libraries to cause setting of this flag.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationController Class