0 out of 6 rated this helpful - Rate this topic

WM_GETFONT message

Applies to: desktop apps only

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

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

See also

Reference
WM_SETFONT
Conceptual
Windows

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Value
WM_GETFONT = &H31