DateTime_GetMonthCalFont macro

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 hwndDP
);

Parameters

hwndDP

Type: HWND

A handle to a DTP control.

Return value

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: