MonthCal_GetMaxSelCount macro (commctrl.h)
Retrieves the maximum date range that can be selected in a month calendar control. You can use this macro or send the MCM_GETMAXSELCOUNT message explicitly.
C++
DWORD MonthCal_GetMaxSelCount(
HWND hmc
);
hmc
Type: HWND
Handle to a month calendar control.
Type: DWORD
Returns an INT value that represents the total number of days that can be selected for the control.
You can change the maximum date range that can be selected by using the MCM_SETMAXSELCOUNT message.
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 |