Share via


MonthCal_GetMonthDelta

This macro 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.

INT MonthCal_GetMonthDelta(
HWND hwndMC );

Parameters

  • hwndMC
    Handle to a month calendar control.

Return Values

If the month delta was previously set using the MonthCal_SetMonthDelta macro, returns an INT value that represents the month calendars 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.

Remarks

Related message: MCM_GETMONTHDELTA

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.

See Also

MonthCal_SetMonthDelta

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.