An application sends a WM_GETFONT message to a control to retrieve the font with which the control is currently drawing its text.
WM_GETFONT
wParam = 0; // not used, must be zero
lParam = 0; // not used, must be zero
This message has no parameters.
The return value is a handle to the font used by the control, or NULL if the control is using the system font.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winuser.h.
Controls Overview, Control Messages, WM_SETFONT