Author: rharabien
Date: Sat Apr 30 19:32:37 2011
New Revision: 51508
URL:
http://svn.reactos.org/svn/reactos?rev=51508&view=rev
Log:
[SNDVOL32 & TASKMGR]
* Properly support WM_SYSCOLORCHANGE
Modified:
trunk/reactos/base/applications/sndvol32/sndvol32.c
trunk/reactos/base/applications/taskmgr/taskmgr.c
Modified: trunk/reactos/base/applications/sndvol32/sndvol32.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndvol32…
==============================================================================
--- trunk/reactos/base/applications/sndvol32/sndvol32.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/sndvol32/sndvol32.c [iso-8859-1] Sat Apr 30 19:32:37
2011
@@ -574,6 +574,16 @@
IDCANCEL);
break;
}
+
+ case WM_SYSCOLORCHANGE:
+ {
+ HWND hwndControls;
+
+ /* Forward WM_SYSCOLORCHANGE to common controls */
+ hwndControls = GetDlgItem(hwndDlg, IDC_CONTROLS);
+ SendMessage(hwndControls, WM_SYSCOLORCHANGE, 0, 0);
+ break;
+ }
}
return 0;
Modified: trunk/reactos/base/applications/taskmgr/taskmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/taskmgr.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/taskmgr.c [iso-8859-1] Sat Apr 30 19:32:37
2011
@@ -396,6 +396,12 @@
case WM_MENUSELECT:
TaskManager_OnMenuSelect(hDlg, LOWORD(wParam), HIWORD(wParam), (HMENU)lParam);
break;
+ case WM_SYSCOLORCHANGE:
+ /* Forward WM_SYSCOLORCHANGE to common controls */
+ SendMessage(hApplicationPageListCtrl, WM_SYSCOLORCHANGE, 0, 0);
+ SendMessage(hProcessPageListCtrl, WM_SYSCOLORCHANGE, 0, 0);
+ SendMessage(hProcessPageHeaderCtrl, WM_SYSCOLORCHANGE, 0, 0);
+ break;
}
return 0;