Partager via


MonthCal_GetMaxSelCount (Compact 2013)

3/28/2014

This macro retrieves the maximum selectable date range that is set for a month calendar control. You can use this macro or send the MCM_GETMAXSELCOUNT message explicitly.

Syntax

DWORD MonthCal_GetMaxSelCount(
  HWND hwndMC 
);

Parameters

  • hwndMC
    Handle to a month calendar control.

Return Value

You can change the selectable date range using the MCM_SETMAXSELCOUNT message.

Returns an INT value that represents the total number of days that can be selected for the control.

Remarks

Related message MCM_GETMAXSELCOUNT

Requirements

Header

commctrl.h

See Also

Reference

Month Calendar Controls Macros