mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +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:
parent
65e4efd475
commit
f7e39f7d2a
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue