Author: mkupfer
Date: Fri Feb 20 08:22:15 2009
New Revision: 39692
URL:
http://svn.reactos.org/svn/reactos?rev=39692&view=rev
Log:
disable useless or wrong message handling (WM_PAINT + WM_NCPAINT)
Modified:
trunk/reactos/base/applications/taskmgr/taskmgr.c
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] Fri Feb 20 08:22:15
2009
@@ -103,10 +103,12 @@
INT_PTR CALLBACK
TaskManagerWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
+#if 0
HDC hdc;
PAINTSTRUCT ps;
+ RECT rc;
+#endif
LPRECT pRC;
- RECT rc;
int idctrl;
LPNMHDR pnmh;
WINDOWPLACEMENT wp;
@@ -289,7 +291,7 @@
TaskManager_OnTabWndSelChange();
}
break;
-
+#if 0
case WM_NCPAINT:
hdc = GetDC(hDlg);
GetClientRect(hDlg, &rc);
@@ -303,7 +305,7 @@
Draw3dRect(hdc, rc.left, rc.top, rc.right, rc.top + 2,
GetSysColor(COLOR_3DSHADOW), GetSysColor(COLOR_3DHILIGHT));
EndPaint(hDlg, &ps);
break;
-
+#endif
case WM_SIZING:
/* Make sure the user is sizing the dialog */
/* in an acceptable range */