This message retrieves the first day of the week for a month calendar control.
At a Glance
| Header file: | Commctrl.h |
| Windows CE versions: | 2.0 and later |
| Related macro: | MonthCal_GetFirstDayOfWeek |
Syntax
MCM_GETFIRSTDAYOFWEEK wParam = 0; lParam = 0;
Return Values
Returns a DWORD value that contains two values. The high-order word is a BOOL that is nonzero if the first day of the week is set to something other than LOCALE_IFIRSTDAYOFWEEK, or zero otherwise. The low-order word is an INT value that represents the first day of the week, as shown in the following table.
| Value | Day of the week |
| 0 | Sunday |
| 1 | Monday |
| 2 | Tuesday |
| 3 | Wednesday |
| 4 | Thursday |
| 5 | Friday |
| 6 | Saturday |