MonthCal_SetMaxSelCount macro (commctrl.h)

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

void MonthCal_SetMaxSelCount(
   hmc,
   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

None

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