MCM_SETSELRANGEMCM_SETSELRANGE*
*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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.