Share via


MonthCal_GetMaxSelCount

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later