Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This macro sets the first day of the week for a month calendar control.
Syntax
DWORD MonthCal_SetFirstDayOfWeek( HWND hwndMC, INT iDay ); |
Parameters
- hwndMC
-
Handle to a month calendar control.
- iDay
-
INTvalue that specified which day is to be set as the first day of the week. It is one of the following values.
Value Day 0
Monday
1
Tuesday
2
Wednesday
3
Thursday
4
Friday
5
Saturday
6
Sunday
Return Value
Returns a DWORDvalue that contains two values. The high-order word is a BOOLthat is nonzero if the previous first day of the week did not equal LOCALE_IFIRSTDAYOFWEEK, or zero otherwise. The low-order word is an INTvalue that represents the previous day-of-the-week number (see list under iDay).
Remarks
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.
Related message: MCM_SETFIRSTDAYOFWEEK
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.