Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.46 KB

nf-commctrl-monthcal_setfirstdayofweek.md

File metadata and controls

71 lines (58 loc) · 2.46 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_SetFirstDayOfWeek
MonthCal_SetFirstDayOfWeek macro (commctrl.h)
Sets the first day of the week for a month calendar control. You can use this macro or send the MCM_SETFIRSTDAYOFWEEK message explicitly.
MonthCal_SetFirstDayOfWeek
MonthCal_SetFirstDayOfWeek macro [Windows Controls]
_win32_MonthCal_SetFirstDayOfWeek
_win32_MonthCal_SetFirstDayOfWeek_cpp
commctrl/MonthCal_SetFirstDayOfWeek
controls.MonthCal_SetFirstDayOfWeek
controls._win32_MonthCal_SetFirstDayOfWeek
controls\MonthCal_SetFirstDayOfWeek.htm
Controls
VS|Controls|~\controls\monthcal\macros\monthcal_setfirstdayofweek.htm
12/05/2018
MonthCal_SetFirstDayOfWeek, MonthCal_SetFirstDayOfWeek macro [Windows Controls], _win32_MonthCal_SetFirstDayOfWeek, _win32_MonthCal_SetFirstDayOfWeek_cpp, commctrl/MonthCal_SetFirstDayOfWeek, controls.MonthCal_SetFirstDayOfWeek, controls._win32_MonthCal_SetFirstDayOfWeek
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
MonthCal_SetFirstDayOfWeek
commctrl/MonthCal_SetFirstDayOfWeek
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
MonthCal_SetFirstDayOfWeek

MonthCal_SetFirstDayOfWeek macro

-description

Sets the first day of the week for a month calendar control. You can use this macro or send the MCM_SETFIRSTDAYOFWEEK message explicitly.

-parameters

-param hmc

Type: HWND

Handle to a month calendar control.

-param iDay

Type: INT

Value of type int that specifies which day is to be set as the first day of the week, where 0 is Monday, 1 is Tuesday, and so on.

-remarks

If the first day of the week is set to anything other than the default (LOCALE_IFIRSTDAYOFWEEK), the control will not automatically update first-day-of-the-week changes based on locale changes.