Partager via


CCustomInterpolator::SetDuration

Sets the interpolator's duration.

virtual BOOL SetDuration(
   UI_ANIMATION_SECONDS duration
);

Parameters

  • duration
    The duration of the transition.

Return Value

Basic implementation always returns TRUE. Return FALSE from overridden implementation if you wish to fail the event.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CCustomInterpolator Class