WM_GETFONT
A version of this page is also available for
4/8/2010
This message is sent by an application to a control to retrieve the font with which the control is currently drawing its text.
Syntax
WM_GETFONT wParam = 0;
lParam = 0;
Parameters
- wParam
Not used.
- lParam
Not used.
Return Value
The return value is a handle to the font used by the control, or NULL if the control is using the system font.
Remarks
The WM_GETFONT message does not return a font handle if the message is sent to a dialog box created by the DialogBoxParam, DialogBoxIndirectParam, CreateDialogParam, or CreateDialogIndirectParam function.
Requirements
Header | winuser.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
CreateDialogIndirectParam
CreateDialogParam
DialogBoxIndirectParam
DialogBoxParam
WM_SETFONT