MonthCal_GetCalendarCount macro

Gets the number of calendars currently displayed in the calendar control. You can use this macro or send the MCM_GETCALENDARCOUNT message explicitly.

Syntax


DWORD MonthCal_GetCalendarCount(
   HWND hmc
);

Parameters

hmc

Type: HWND

Handle to a month calendar control.

Return value

Number of calendars currently displayed in the calendar control. The maximum number of allowed calendars is 12.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

 

 

Show: