CMonthCalCtrl::SetFirstDayOfWeek

BOOL SetFirstDayOfWeek( int iDay, int* lpnOld = NULL );

Return Value

Nonzero if the previous first day of the week is set to a value other than that of LOCALE_IFIRSTDAYOFWEEK, which is the day indicated in the control panel setting. Otherwise, this function returns 0.

Parameters

iDay

An integer value representing which day is to be set as the first day of the week. This value must be one of the day numbers. See GetFirstDayOfWeek for a description of the day numbers.

lpnOld

A pointer to an integer indicating the first day of the week previously set.

Remarks

This member function implements the behavior of the Win32 message MCM_SETFIRSTDAYOFWEEK, as described in the Platform SDK.

CMonthCalCtrl OverviewClass MembersHierarchy Chart

See Also   CMonthCalCtrl::GetFirstDayOfWeek