Share via


DTM_SETMCFONT (Compact 2013)

3/28/2014

This message sets the font to be used by the date and time picker (DTP) control's child month calendar control.

Syntax

DTM_SETMCFONT wParam = (WPARAM)(HFONT) hFont;
    lParam = (LPARAM) MAKELONG(fRedraw, 0);

Parameters

  • hFont
    Handle to the font to be set.
  • fRedraw
    Boolean that 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

The return value for this message is not used.

Requirements

Header

commctrl.h

See Also

Reference

Date and Time Picker Controls Messages
DateTime_SetMonthCalFont