MonthCal_SetMonthDelta
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.
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 controls 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.
Remarks
Related message: MCM_SETMONTHDELTA
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.0 and later | Commctrl.h | Commctrl.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.