Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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.

Syntax

INT MonthCal_GetMonthDelta(
  HWND 
hwndMC 
);

Parameters

hwndMC

Handle to a month calendar control.

Return Value

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

Remarks

Related message:  MCM_GETMONTHDELTA

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also