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.
Syntax
void MonthCal_SetFirstDayOfWeek(
hmc,
iDay
);
Parameters
hmc
Type: HWND
Handle to a month calendar control.
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.
Return value
None
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.
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 |