WM_GETFONT (Windows CE 5.0)

Send Feedback

This message is sent by an application to a control to retrieve the font with which the control is currently drawing its text.

WM_GETFONT wParam = 0;lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Values

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

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

CreateDialogIndirectParam | CreateDialogParam | DialogBoxIndirectParam | DialogBoxParam | WM_SETFONT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.