Contents Index Topic Contents | ||
Previous Topic: MCM_SETCOLOR Next Topic: MCM_SETDAYSTATE |
MCM_SETCURSEL
MCM_SETCURSEL wParam = 0; lParam = (LPARAM)(LPSYSTEMTIME) lpSysTime;Sets the currently selected date for a month calendar control. If the specified date is not in view, the control updates the display to bring it into view. You can send this message explicitly or by using the MonthCal_SetCurSel macro.
- Returns nonzero if successful, or zero otherwise. This message will fail if applied to a month calendar control that uses the MCS_MULTISELECT style.
- lpSysTime
- Address of a SYSTEMTIME structure that contains the date to be set as the current selection.
Version 4.70
See also Times in the Month Calendar Control
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.