MCM_GETMONTHDELTA message

Retrieves the scroll rate for a month calendar control. The scroll rate is the number of months that the control moves its display when the user clicks a scroll button. You can send this message explicitly or by using the MonthCal_GetMonthDelta macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

If the month delta was previously set using the MCM_SETMONTHDELTA message, returns an INT value that represents the month calendar's current scroll rate. If the month delta was not previously set using the MCM_SETMONTHDELTA message, or the month delta was reset to the default, returns an INT value that represents the current number of months visible.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h