MonthCal_SetCALID macro (commctrl.h)

Sets the calendar ID for the given calendar control. You can use this macro or send the MCM_SETCALID message explicitly.

Syntax

LRESULT MonthCal_SetCALID(
   HWND hmc,
   UINT calid
);

Parameters

hmc

Type: HWND

Handle to a month calendar control.

calid

Type: UINT

Calendar ID. One of the Calendar Identifiers constants.

Return value

Type: LRESULT

Unused.

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