MonthCal_SetMonthDelta
A version of this page is also available for
4/8/2010
This macro 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
INT MonthCal_SetMonthDelta(
HWND hwndMC,
INT iDelta
);
Parameters
- hwndMC
Handle to a month calendar control.
- iDelta
Value representing 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
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 message: MCM_SETMONTHDELTA
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |