From: Katayama Hirofumi MZ Date: Thu, 8 Aug 2019 12:41:15 +0000 (+0900) Subject: [FONTVIEW] Broadcast WM_FONTCHANGE message (#1815) X-Git-Tag: 0.4.14-dev~416 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f7e39f7d2ad68b26cce7d3e3cbc4bf6867bd564c [FONTVIEW] Broadcast WM_FONTCHANGE message (#1815) We have to send WM_FONTCHANGE message when the font list was changed. --- diff --git a/base/applications/fontview/fontview.c b/base/applications/fontview/fontview.c index fe0bf8aa304..1deac6e8db2 100644 --- a/base/applications/fontview/fontview.c +++ b/base/applications/fontview/fontview.c @@ -515,6 +515,9 @@ MainWnd_OnInstall(HWND hwnd) /* Close the fonts key */ RegCloseKey(hKey); + /* Broadcast WM_FONTCHANGE message */ + SendMessageW(HWND_BROADCAST, WM_FONTCHANGE, 0, 0); + /* if all of this goes correctly, message the user about success */ MessageBoxW(hwnd, L"Font Installation Completed.", L"Success", MB_OK);