mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00: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:
@@ -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