MCM_SETCURSEL message
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.
Parameters
-
wParam
- Must be zero.
-
lParam
-
Pointer to a SYSTEMTIME structure that contains the date to be set as the current selection.
Return value
Returns nonzero if successful, or zero otherwise. This message will fail if applied to a month calendar control that uses the MCS_MULTISELECT style.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
See also
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for