Compartilhar via


MCM_GETFIRSTDAYOFWEEK

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message retrieves the first day of the week for a month calendar control.

Syntax

MCM_GETFIRSTDAYOFWEEK wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

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

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later