Skip to content

Latest commit

 

History

History
60 lines (35 loc) · 1.62 KB

mcm-setmaxselcount.md

File metadata and controls

60 lines (35 loc) · 1.62 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
MCM_SETMAXSELCOUNT message (Commctrl.h)
Sets the maximum number of days that can be selected in a month calendar control. You can send this message explicitly or by using the MonthCal\_SetMaxSelCount macro.
190453ab-e53b-4db7-82c1-f9d50188ad39
MCM_SETMAXSELCOUNT message Windows Controls
apiref
MCM_SETMAXSELCOUNT
Commctrl.h
HeaderDef
reference
05/31/2018

MCM_SETMAXSELCOUNT message

Sets the maximum number of days that can be selected in a month calendar control. You can send this message explicitly or by using the MonthCal_SetMaxSelCount macro.

Parameters

wParam

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

lParam

Must be zero.

Return value

Returns nonzero if successful, or zero otherwise. This message 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]
Header
Commctrl.h