Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the maximum number of days that can be selected in a month calendar control. You can use this macro or send the MCM_SETMAXSELCOUNT message explicitly.
Syntax
BOOL MonthCal_SetMaxSelCount(
HWND hmc,
UINT n
);
Parameters
hmc
Type: HWND
Handle to a month calendar control.
n
Type: UINT
Value of type int that will be set to represent the maximum number of days that can be selected.
Return value
Type: BOOL
Returns nonzero if successful, or zero otherwise. This macro will fail if applied to a month calendar control that does not use the MCS_MULTISELECT style.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |