Compartir a través de


MCM_SETMONTHDELTA

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message 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

MCM_SETMONTHDELTA wParam = (WPARAM)(INT) iDelta; 
    lParam = 0;

Parameters

  • iDelta
    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.
  • lParam
    Not used.

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 macro: MonthCal_SetMonthDelta

Requirements

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