Partager via


CAnimationRect::SetDefaultValue

Sets default value.

void SetDefaultValue(
   const CRect& rect
);

Parameters

  • rect
    Specifies new default values for left, top, right and bottom.

Remarks

Use this function to set a default value to animation object. This methods assigns default values to rectangle's bounds. It also recreates underlying COM objects if they have been created. If you subscribed this animation object to events (ValueChanged or IntegerValueChanged), you need to re-enable these events.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationRect Class