MCM_SETMONTHDELTA

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.

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

Parameters

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

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

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.