Author: rharabien
Date: Sun May  1 13:01:38 2011
New Revision: 51526

URL: http://svn.reactos.org/svn/reactos?rev=51526&view=rev
Log:
[SHELL32]
* Properly support WM_SYSCOLORCHANGE in ShellView window. Changing system 
colors in ReactOS works perfectly now :)

Modified:
    trunk/reactos/dll/win32/shell32/shlview.c

Modified: trunk/reactos/dll/win32/shell32/shlview.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlview.c?rev=51526&r1=51525&r2=51526&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shlview.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shlview.c [iso-8859-1] Sun May  1 13:01:38 
2011
@@ -1853,6 +1853,12 @@
                (pThis->FolderSettings.fFlags & FWF_TRANSPARENT))
             return SendMessageW(pThis->hWndParent, WM_ERASEBKGND, wParam, 
lParam); /* redirect to parent */
            break;
+
+      case WM_SYSCOLORCHANGE:
+        /* Forward WM_SYSCOLORCHANGE to common controls */
+        SendMessage(pThis->hWndList, WM_SYSCOLORCHANGE, 0, 0);
+        break;
+
       case CWM_GETISHELLBROWSER:
           return (LRESULT)pThis->pShellBrowser;
        }


Reply via email to