Partager via


MCM_SETMAXSELCOUNT (Compact 2013)

3/28/2014

This message sets the maximum number of days that can be selected in a month calendar control.

Syntax

MCM_SETMAXSELCOUNT wParam = (WPARAM)(INT) iMax; 
    lParam = 0;

Parameters

  • iMax
    INT value that is set to represent the maximum number of selectable days.
  • lParam
    Not used.

Return Value

Returns nonzero if successful, and returns zero otherwise. This message fails if applied to a month calendar control that does not use the MCS_MULTISELECT style.

Remarks

Related macro MonthCal_SetMaxSelCount

Requirements

Header

commctrl.h

See Also

Reference

Month Calendar Controls Messages