This message retrieves the first day of the week for a month calendar control.
MCM_GETFIRSTDAYOFWEEK wParam= 0;lParam= 0;
Parameters
- wParam
Not used. - lParam
Not used.
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 |
Remarks
Related macro:MonthCal_GetFirstDayOfWeek
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.
Send Feedback on this topic to the authors