Partager via


CAnimationColor::operator=

Assigns color to CAnimationColor.

void operator=(
   COLORREF color
);

Parameters

  • color
    Specifies new value Animation Color.

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

CAnimationColor Class