Commit in reactos/subsys/win32k/ntuser on MAIN
window.c+7-31.227 -> 1.228
assign even more styles for overlapped windows

reactos/subsys/win32k/ntuser
window.c 1.227 -> 1.228
diff -u -r1.227 -r1.228
--- window.c	8 May 2004 13:06:12 -0000	1.227
+++ window.c	8 May 2004 16:06:54 -0000	1.228
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: window.c,v 1.227 2004/05/08 13:06:12 weiden Exp $
+/* $Id: window.c,v 1.228 2004/05/08 16:06:54 weiden Exp $
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -1661,9 +1661,9 @@
   
   if(!(WindowObject->Style & (WS_POPUP | WS_CHILD)))
   {
-    /* Automatically assign the caption and border style. Also always
+    /* Automatically assign the overlapped window style. Also always
        clip siblings for overlapped windows. */
-    WindowObject->Style |= (WS_CAPTION | WS_BORDER | WS_CLIPSIBLINGS);
+    WindowObject->Style |= (WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS);
   }
   
   /* create system menu */
@@ -1716,6 +1716,10 @@
         {
           IntReleaseWindowObject(ParentWindow);
         }
+      
+      /* FIXME - Delete window object and remove it from the thread windows list */
+      /* FIXME - delete allocated DCE */
+      
       DPRINT1("CBT-hook returned !0\n");
       return (HWND) NULL;
     }
CVSspam 0.2.8