Help Center

CMonthCal.GetCalendarCountmethod

Gets the number of calendars currently displayed in the calendar control.

WindowsmethodCMontCal.incdocumented

Syntax

FUNCTION GetCalendarCount (BYVAL hMonthCal AS HWND) AS DWORD

Parameters

NameDescription
hMonthCalHandle to a month calendar control.

Return value

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

Description

Gets the number of calendars currently displayed in the calendar control.

Reference

  • Include file CMontCal.inc
  • Defined in AfxNova/CMonthCal.inc:339
  • Documented in Windows/WIndows Controls/CMonthCal Class.md
  • Topic: CMonthCal Class