Partager via


MCM_SETMONTHDELTA (Compact 2013)

3/28/2014

This message sets the scroll rate for a month calendar control. The scroll rate is the number of months that a month calendar control moves its display when the user clicks a scroll button.

Syntax

MCM_SETMONTHDELTA wParam = (WPARAM)(INT) iDelta; 
    lParam = 0;

Parameters

  • iDelta
    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.
  • lParam
    Not used.

Return Value

Returns an INT value that represents the previous scroll rate. If the scroll rate has not been previously set, the return value is zero.

Remarks

Related macro MonthCal_SetMonthDelta

Requirements

Header

commctrl.h

See Also

Reference

Month Calendar Controls Messages