Upravit

Sdílet prostřednictvím


WM_GETFONT message

Retrieves the font with which the control is currently drawing its text.

#define WM_GETFONT                      0x0031

Parameters

wParam

This parameter is not used and must be zero.

lParam

This parameter is not used and must be zero.

Return value

Type: HFONT

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

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Reference

WM_SETFONT

Conceptual

Windows