Share via


CAnimationSize::operator=

Assigns szSrc to CAnimationSize.

void operator=(
   const CSize& szSrc
);

Parameters

  • szSrc
    Refers to CSize or SIZE.

Remarks

Assigns szSrc to CAnimationSize. It's recommended to do that before animation start, because this operator calls SetDefaultValue, which recreates the underlying COM objects for Width and Height 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

CAnimationSize Class