Partilhar via


CMonthCalCtrl::SetMonthDelta

Sets the scroll rate for a month calendar control.

int SetMonthDelta(
   int iDelta 
);

Parameters

  • iDelta
    The number of months to be set as the control's scroll rate. If this value is zero, the month delta is reset to the default, which is the number of months displayed in the control.

Return Value

The previous scroll rate. If the scroll rate has not been previously set, the return value is 0.

Remarks

This member function implements the behavior of the Win32 message MCM_SETMONTHDELTA, as described in the Windows SDK.

Requirements

Header: afxdtctl.h

See Also

Reference

CMonthCalCtrl Class

Hierarchy Chart

CMonthCalCtrl::GetMonthDelta

Other Resources

CMonthCalCtrl Members