Skip to content

Latest commit

 

History

History
67 lines (56 loc) · 2.33 KB

nf-commctrl-monthcal_setselrange.md

File metadata and controls

67 lines (56 loc) · 2.33 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_SetSelRange
MonthCal_SetSelRange macro (commctrl.h)
Sets the selection for a month calendar control to a given date range. You can use this macro or send the MCM_SETSELRANGE message explicitly.
MonthCal_SetSelRange
MonthCal_SetSelRange macro [Windows Controls]
_win32_MonthCal_SetSelRange
_win32_MonthCal_SetSelRange_cpp
commctrl/MonthCal_SetSelRange
controls.MonthCal_SetSelRange
controls._win32_MonthCal_SetSelRange
controls\MonthCal_SetSelRange.htm
Controls
VS|Controls|~\controls\monthcal\macros\monthcal_setselrange.htm
12/05/2018
MonthCal_SetSelRange, MonthCal_SetSelRange macro [Windows Controls], _win32_MonthCal_SetSelRange, _win32_MonthCal_SetSelRange_cpp, commctrl/MonthCal_SetSelRange, controls.MonthCal_SetSelRange, controls._win32_MonthCal_SetSelRange
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
MonthCal_SetSelRange
commctrl/MonthCal_SetSelRange
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
MonthCal_SetSelRange

MonthCal_SetSelRange macro

-description

Sets the selection for a month calendar control to a given date range. You can use this macro or send the MCM_SETSELRANGE message explicitly.

-parameters

-param hmc

Type: HWND

Handle to a month calendar control.

-param rgst

Type: LPSYSTEMTIME

Pointer to a two-element array of SYSTEMTIME structures that contain date information representing the selection limits. The first selected date must be specified in lprgSysTimeArray[0], and the last selected date must be specified in lprgSysTimeArray[1]. The time members of these structures are ignored.