Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 use this macro or send the MCM_GETMONTHDELTA message explicitly.
Syntax
INT MonthCal_GetMonthDelta(
HWND hmc
);
Parameters
hmc
Type: HWND
Handle to a month calendar control.
Return value
Type: INT
If the month delta was previously set using the MonthCal_SetMonthDelta macro, returns an INT value that represents the month calendar's current scroll rate. If the month delta was not previously set using the MonthCal_SetMonthDelta macro, 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] |
Target Platform | Windows |
Header | commctrl.h |