Contents Index Topic Contents | ||
Previous Topic: MCM_SETRANGE Next Topic: MCM_SETTODAY |
MCM_SETSELRANGE
MCM_SETSELRANGE wParam = 0; lParam = (LPARAM)(LPSYSTEMTIME) lprgSysTimeArray;Sets the selection for a month calendar control to a given date range. You can send this message explicitly or by using the MonthCal_SetSelRange macro.
- Returns nonzero if successful, or zero otherwise. This message will fail if applied to a month calendar control that does not use the MCS_MULTISELECT style.
- lprgSysTimeArray
- Address of a two-element array of SYSTEMTIME structures that contain date information representing the selection limits. The first selected date must be specified in lpSysTimeArray[0], and the last selected date must be specified in lpSysTimeArray[1].
Version 4.70
See also Times in the Month Calendar Control
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.