Skip to content

Commit 606747e

Browse files
author
Rafal Harabien
committed
[SHELL32]
* Properly support WM_SYSCOLORCHANGE in ShellView window. Changing system colors in ReactOS works perfectly now :) svn path=/trunk/; revision=51526
1 parent e094f54 commit 606747e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reactos/dll/win32/shell32/shlview.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,6 +1853,12 @@ static LRESULT CALLBACK ShellView_WndProc(HWND hWnd, UINT uMessage, WPARAM wPara
18531853
(pThis->FolderSettings.fFlags & FWF_TRANSPARENT))
18541854
return SendMessageW(pThis->hWndParent, WM_ERASEBKGND, wParam, lParam); /* redirect to parent */
18551855
break;
1856+
1857+
case WM_SYSCOLORCHANGE:
1858+
/* Forward WM_SYSCOLORCHANGE to common controls */
1859+
SendMessage(pThis->hWndList, WM_SYSCOLORCHANGE, 0, 0);
1860+
break;
1861+
18561862
case CWM_GETISHELLBROWSER:
18571863
return (LRESULT)pThis->pShellBrowser;
18581864
}

0 commit comments

Comments
 (0)