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.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Related macro: | MonthCal_SetMonthDelta |
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.
Return Values
Returns an INT value that represents the previous scroll rate. If the scroll rate has not been previously set, the return value is zero.