Partager via


CAnimationRect::operator=

Assigns rect to CAnimationRect.

void operator=(
   const RECT& rect
);

Parameters

  • rect
    The new value of animation rectangle.

Remarks

It's recommended to do that before animation start, because this operator calls SetDefaultValue, which recreates the underlying COM objects for color components 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