Share via


MonthCal_GetFirstDayOfWeek (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

DWORD MonthCal_GetFirstDayOfWeek(
  HWND hwndMC 
);

Parameters

  • hwndMC
    Handle to a month calendar control.

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. The low-order word will be one of the values shown in the following table.

Value Day

0

Monday

1

Tuesday

2

Wednesday

3

Thursday

4

Friday

5

Saturday

6

Sunday

Remarks

Related message: MCM_GETFIRSTDAYOFWEEK

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Month Calendar Controls Macros