MonthCal_SetFirstDayOfWeekMonthCal_SetFirstDayOfWeek*
*Contents  *Index  *Topic Contents
*Previous Topic: MonthCal_SetDayState
*Next Topic: MonthCal_SetMaxSelCount

MonthCal_SetFirstDayOfWeek


DWORD MonthCal_SetFirstDayOfWeek(
    HWND hwndMC,
    INT iDay
);

Sets the first day of the week for a month calendar control. You can use this macro or send the MCM_SETFIRSTDAYOFWEEK message explicitly.

hwndMC
Handle to a month calendar control.
iDay
INT value representing which day is to be set as the first day of the week. This value must be one of the day numbers.

If the first day of the week is set to anything other than the default (LOCALE_IFIRSTDAYOFWEEK), the control will not automatically update first-day-of-the-week changes based on locale changes.

Version 4.70


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.