Partager via


WM_FONTCHANGE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message is sent by an application to all top–level windows in the system after changing the pool of font resources.

Syntax

WM_FONTCHANGE wParam = 0;
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

None.

Remarks

An application that adds or removes fonts from the system (for example, by using the AddFontResource or RemoveFontResource function) should send this message to all top–level windows.

To send the WM_FONTCHANGE message to all top–level windows, an application can call the SendMessage function with the hwnd parameter set to HWND_BROADCAST.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

AddFontResource
RemoveFontResource

Other Resources

SendMessage