Contents Index Topic Contents | ||
Previous Topic: MCM_SETDAYSTATE Next Topic: MCM_SETMAXSELCOUNT |
MCM_SETFIRSTDAYOFWEEK
MCM_SETFIRSTDAYOFWEEK wParam = 0; lParam = (LPARAM)(INT) iDay;Sets the first day of the week for a month calendar control. You can send this message explicitly or by using the MonthCal_SetFirstDayOfWeek macro.
- Returns a DWORD value that contains two values. The high word is a BOOL value that is nonzero if the previous first day of the week did not equal LOCALE_IFIRSTDAYOFWEEK, or zero otherwise. The low word is an INT value that represents the previous first day of the week.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.