From 54fa81f8196bab9caa4e61447dcadd9830a00420 Mon Sep 17 00:00:00 2001 From: Richard Campbell Date: Wed, 12 Mar 2003 08:26:54 +0000 Subject: [PATCH] Windows are activated when created. This is actually just a hack, they really are active, but I don't know how well this will work in a multi windowing environment. svn path=/trunk/; revision=4293 --- reactos/subsys/win32k/ntuser/window.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/window.c b/reactos/subsys/win32k/ntuser/window.c index c5ad83a7c4c..72c9109c4a8 100644 --- a/reactos/subsys/win32k/ntuser/window.c +++ b/reactos/subsys/win32k/ntuser/window.c @@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.29 2003/03/12 05:21:53 rcampbell Exp $ +/* $Id: window.c,v 1.30 2003/03/12 08:26:54 rcampbell Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -365,7 +365,6 @@ NtUserCreateWindowEx(DWORD dwExStyle, POINT MaxSize, MaxPos, MinTrack, MaxTrack; CREATESTRUCTW Cs; LRESULT Result; - DPRINT("NtUserCreateWindowEx\n"); /* Initialize gui state if necessary. */ @@ -432,7 +431,7 @@ NtUserCreateWindowEx(DWORD dwExStyle, */ WindowObject->Class = ClassObject; WindowObject->ExStyle = dwExStyle; - WindowObject->Style = dwStyle; + WindowObject->Style = dwStyle | WIN_NCACTIVATED; WindowObject->x = x; WindowObject->y = y; WindowObject->Width = nWidth;