Windows Dev Center

DateTime_SetMonthCalFont macro

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(
   HWND  hwndDP,
   HFONT hFont,
   long  fRedraw
);

Parameters

hwndDP

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

No return value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft