Author: jimtabor
Date: Mon Jan 12 14:43:34 2009
New Revision: 38734
URL:
http://svn.reactos.org/svn/reactos?rev=38734&view=rev
Log:
- Sort out common used DCE flags.
Modified:
trunk/reactos/dll/win32/user32/windows/nonclient.c
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/include/dce.h
Modified: trunk/reactos/dll/win32/user32/windows/nonclient.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/n…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/nonclient.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/nonclient.c [iso-8859-1] Mon Jan 12 14:43:34
2009
@@ -265,8 +265,6 @@
will cause clipRgn to be deleted after ReleaseDC().
Now, how is the "system" supposed to tell what happened?
*/
-#define DCX_USESTYLE 0x00010000
-#define DCX_KEEPCLIPRGN 0x00040000 // <-- You do this!
/*
* FIXME:
* - Drawing of WS_BORDER after scrollbars
Modified: trunk/reactos/include/reactos/win32k/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntu…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] Mon Jan 12 14:43:34 2009
@@ -496,6 +496,11 @@
#define WM_SYSTIMER 280
#define WM_POPUPSYSTEMMENU 787
+//
+// Non SDK DCE types.
+//
+#define DCX_USESTYLE 0x00010000
+#define DCX_KEEPCLIPRGN 0x00040000
DWORD
NTAPI
Modified: trunk/reactos/subsystems/win32/win32k/include/dce.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/dce.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/include/dce.h [iso-8859-1] Mon Jan 12 14:43:34
2009
@@ -41,8 +41,6 @@
#define DCX_DCEDIRTY 0x00002000
#define DCX_LAYEREDWIN 0x00004000
#define DCX_DCPOWNED 0x00008000
-#define DCX_USESTYLE 0x00010000
-#define DCX_KEEPCLIPRGN 0x00040000
#define DCX_NOCLIPCHILDREN 0x00080000
#define DCX_NORECOMPUTE 0x00100000