MonthCal_GetCALID macro (commctrl.h)

Gets the current calendar ID for the given calendar control. You can use this macro or send the MCM_GETCALID message explicitly.

Syntax

CALID MonthCal_GetCALID(
   HWND hmc
);

Parameters

hmc

Type: HWND

Handle to a month calendar control.

Return value

Type: CALID

ID of the current calendar. One of the Calendar Identifiers constants.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h