MonthCal_GetCalendarGridInfo macro (commctrl.h)

Gets information about a calendar grid.

Syntax

BOOL MonthCal_GetCalendarGridInfo(
   HWND       hmc,
   MCGRIDINFO *pmcGridInfo
);

Parameters

hmc

Type: HWND

Handle to a month calendar control.

pmcGridInfo

Type: MCGRIDINFO*

Pointer to an MCGRIDINFO structure that contains information about the calendar grid.

Return value

Type: BOOL

TRUE if successful, otherwise FALSE.

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