Help Center

CMonthCal.SetCALIDmethod

Sets the calendar ID for the given calendar control.

WindowsmethodCMontCal.incdocumented

Syntax

SUB SetCALID (BYVAL hMonthCal AS HWND, BYVAL calid AS UINT)

Parameters

NameDescription
hMonthCalHandle to a month calendar control.
calidCalendar ID. One of the Calendar Identifiers constants.

Description

Sets the calendar ID for the given calendar control.

Note: The gap in numbering between the identifiers CAL_GREGORIAN_XLIT_FRENCH and CAL_UMALQURA is intentional. The designator for CAL_UMALQURA is 23, not 13.

Reference

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