Share via


CAnimationRect::GetValue

Returns current value.

BOOL GetValue(
   CRect& rect
);

Parameters

  • rect
    Output. Contains the current value when this method returns.

Return Value

TRUE, if the current value was successfully retrieved; otherwise FALSE.

Remarks

Call this function to retrieve the current value of animation rectangle. If this method fails or underlying COM objects for left, top, right and bottom have not been initialized, rect contains default value, which was previously set in constructor or by SetDefaultValue.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationRect Class