DateTime_GetMonthCalFont macro (commctrl.h)

Gets the font that the date and time picker (DTP) control's child month calendar control is currently using. You can use this macro or send the DTM_GETMCFONT message explicitly.

Syntax

HFONT DateTime_GetMonthCalFont(
   HWND hdp
);

Parameters

hdp

Type: HWND

A handle to a DTP control.

Return value

Type: HFONT

Returns an HFONT value that is the handle to the current font.

Requirements

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