Skip to content

Latest commit

 

History

History
67 lines (56 loc) · 2.28 KB

nf-commctrl-monthcal_setcursel.md

File metadata and controls

67 lines (56 loc) · 2.28 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:commctrl.MonthCal_SetCurSel
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.
MonthCal_SetCurSel
MonthCal_SetCurSel macro [Windows Controls]
_win32_MonthCal_SetCurSel
_win32_MonthCal_SetCurSel_cpp
commctrl/MonthCal_SetCurSel
controls.MonthCal_SetCurSel
controls._win32_MonthCal_SetCurSel
controls\MonthCal_SetCurSel.htm
Controls
VS|Controls|~\controls\monthcal\macros\monthcal_setcursel.htm
12/05/2018
MonthCal_SetCurSel, MonthCal_SetCurSel macro [Windows Controls], _win32_MonthCal_SetCurSel, _win32_MonthCal_SetCurSel_cpp, commctrl/MonthCal_SetCurSel, controls.MonthCal_SetCurSel, controls._win32_MonthCal_SetCurSel
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
MonthCal_SetCurSel
commctrl/MonthCal_SetCurSel
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
MonthCal_SetCurSel

MonthCal_SetCurSel macro

-description

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.

-parameters

-param hmc

Type: HWND

Handle to a month calendar control.

-param 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.