MonthCal_SetTodayMonthCal_SetToday*
*Contents  *Index  *Topic Contents
*Previous Topic: MonthCal_SetSelRange
*Next Topic: MonthCal_SetUnicodeFormat

MonthCal_SetToday


void MonthCal_SetToday(
    HWND hwndMC,
    LPSYSTEMTIME lpSysTime
);

Sets the "today" selection for a month calendar control. You can use this macro or send the MCM_SETTODAY message explicitly.

hwndMC
Handle to a month calendar control.
lpSysTime
Address of a SYSTEMTIME structure that contains the date to be set as the "today" selection for the control. If this parameter is set to NULL, the control returns to the default setting. The time members of this structure are ignored.

If the "today" selection is set to any date other than the default, the following conditions apply:

Version 4.70


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