Export (0) Print
Expand All

MonthCal_SetMaxSelCount macro

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 hwndMC,
  UINT iMax
);

Parameters

hwndMC

Type: HWND

Handle to a month calendar control.

iMax

Type: UINT

Value of type int that will be set to represent the maximum number of days that can be selected.

Return value

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft