WM_GETFONT

3.0

WM_GETFONT
wParam = 0;     /* not used, must be zero */
lParam = 0L;    /* not used, must be zero */

An application sends a WM_GETFONT message to a control to retrieve the font with which the control is currently drawing its text.

Parameters

This message has no parameters.

Return Value

The return value is the handle of the font used by the control, or it is NULL if the control is using the system font.

See Also

WM_SETFONT