共用方式為


CAnimationPoint::operator=

Assigns ptSrc to CAnimationPoint.

void operator=(
   const CPoint& ptSrc
);

Parameters

  • ptSrc
    Refers to CPoint or POINT.

Remarks

Assigns ptSrc to CAnimationPoint. It's recommended to do that before animation start, because this operator calls SetDefaultValue, which recreates the underlying COM objects for X and Y coordinates 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

CAnimationPoint Class