共用方式為


CAnimationSize::SetDefaultValue

Sets default value.

void SetDefaultValue(
   const CSize& szDefault
);

Parameters

  • szDefault
    Specifies new default size.

Remarks

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

CAnimationSize Class