MonthCal_SetCurSelMonthCal_SetCurSel*
*Contents  *Index  *Topic Contents
*Previous Topic: MonthCal_SetColor
*Next Topic: MonthCal_SetDayState

MonthCal_SetCurSel


BOOL MonthCal_SetCurSel(
    HWND hwndMC,
    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 use this macro or send the MCM_SETCURSEL message explicitly.

hwndMC
Handle to a month calendar control.
lpSysTime
Address of a SYSTEMTIME structure that contains the date to be set as the current selection. The time members of this structure are ignored.

Version 4.70


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