This macro retrieves the font that the date and time picker (DTP) control’s child month calendar control is currently using.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Related message: | DTM_GETMCFONT |
Syntax
HFONT DateTime_GetMonthCalFont(HWND hwndDP)
Parameters
hwndDP
Handle to a DTP control.
Return Values
Returns an HFONT value that is the handle to the current font.