CMonthCalCtrl::GetFirstDayOfWeek
Gets the first day of the week to be displayed in the leftmost column of the calendar.
int GetFirstDayOfWeek(
BOOL* pbLocal = NULL
) const;
Параметры
- pbLocal
A pointer to a BOOL value. If the value is non-zero, the control's setting does not match the setting in the control panel.
Возвращаемое значение
An integer value that represents the first day of the week. See Remarks for more information on what these integers represent.
Заметки
This member function implements the behavior of the Win32 message MCM_GETFIRSTDAYOFWEEK, as described in the Windows SDK. The days of the week are represented as integers, as follows.
Value |
Day of the week |
---|---|
0 |
Monday |
1 |
Tuesday |
2 |
Wednesday |
3 |
Thursday |
4 |
Friday |
5 |
Saturday |
6 |
Sunday |
Пример
See the example for CMonthCalCtrl::SetFirstDayOfWeek.
Требования
Header: afxdtctl.h