Delen via


CAnimationColor::SetDefaultValue

Sets default value.

void SetDefaultValue(
   COLORREF color
);

Parameters

  • color
    Specifies new default values for red, green and blue components.

Remarks

Use this function to set a default value to animation object. This methods assigns default values to color components of animation color. 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

CAnimationColor Class