An application sends the WM_FONTCHANGE message to all top-level windows in the system after changing the pool of font resources.
WM_FONTCHANGE
wParam = 0; // not used, must be zero
lParam = 0; // not used, must be zero
This message has no parameters.
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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winuser.h.
Fonts and Text Overview, Font and Text Messages, AddFontResource, RemoveFontResource, SendMessage