DateTime_SetMonthCalFont macro (commctrl.h)

Sets the font to be used by the date and time picker (DTP) control's child month calendar control. You can use this macro or explicitly send the DTM_SETMCFONT message.

Syntax

void DateTime_SetMonthCalFont(
   hdp,
   hfont,
   fRedraw
);

Parameters

hdp

Type: HWND

A handle to a DTP control.

hfont

Type: HFONT

A handle to the font that will be set.

fRedraw

Type: long

Specifies whether the control should be redrawn immediately upon setting the font. Setting this parameter to TRUE causes the control to redraw itself.

Return value

None

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