MonthCal_SetCurSel macro (commctrl.h)
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.
Syntax
void MonthCal_SetCurSel(
hmc,
pst
);
Parameters
hmc
Type: HWND
Handle to a month calendar control.
pst
Type: LPSYSTEMTIME
Pointer to a SYSTEMTIME structure that contains the date to be set as the current selection. The time members of this structure are ignored.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for