mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[FONTVIEW] Broadcast WM_FONTCHANGE message (#1815)
We have to send WM_FONTCHANGE message when the font list was changed.
This commit is contained in:
committed by
GitHub
parent
65e4efd475
commit
f7e39f7d2a
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user