Partager via


MonthCal_GetMaxSelCount (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Month Calendar Controls Macros