MonthCal_GetMaxSelCount macro

Retrieves the maximum date range that can be selected in a month calendar control. You can use this macro or send the MCM_GETMAXSELCOUNT message explicitly.

Syntax


DWORD MonthCal_GetMaxSelCount(
  HWND hwndMC
);

Parameters

hwndMC

Type: HWND

Handle to a month calendar control.

Return value

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

Remarks

You can change the maximum date range that can be selected by using the MCM_SETMAXSELCOUNT message.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft