CMonthCalCtrl::GetFirstDayOfWeek

int GetFirstDayOfWeek( BOOL* pbLocal = NULL ) const;

Return Value

An integer value that represents the first day of the week. See Remarks for more information on what these integers represent.

Parameters

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.

Remarks

This member function implements the behavior of the Win32 message MCM_GETFIRSTDAYOFWEEK, as described in the Platform 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

CMonthCalCtrl OverviewClass MembersHierarchy Chart

See Also   CMonthCalCtrl::SetFirstDayOfWeek