mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
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
This commit is contained in:
parent
b1839c1917
commit
54fa81f819
1 changed files with 2 additions and 3 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -365,7 +365,6 @@ NtUserCreateWindowEx(DWORD dwExStyle,
|
||||||
POINT MaxSize, MaxPos, MinTrack, MaxTrack;
|
POINT MaxSize, MaxPos, MinTrack, MaxTrack;
|
||||||
CREATESTRUCTW Cs;
|
CREATESTRUCTW Cs;
|
||||||
LRESULT Result;
|
LRESULT Result;
|
||||||
|
|
||||||
DPRINT("NtUserCreateWindowEx\n");
|
DPRINT("NtUserCreateWindowEx\n");
|
||||||
|
|
||||||
/* Initialize gui state if necessary. */
|
/* Initialize gui state if necessary. */
|
||||||
|
@ -432,7 +431,7 @@ NtUserCreateWindowEx(DWORD dwExStyle,
|
||||||
*/
|
*/
|
||||||
WindowObject->Class = ClassObject;
|
WindowObject->Class = ClassObject;
|
||||||
WindowObject->ExStyle = dwExStyle;
|
WindowObject->ExStyle = dwExStyle;
|
||||||
WindowObject->Style = dwStyle;
|
WindowObject->Style = dwStyle | WIN_NCACTIVATED;
|
||||||
WindowObject->x = x;
|
WindowObject->x = x;
|
||||||
WindowObject->y = y;
|
WindowObject->y = y;
|
||||||
WindowObject->Width = nWidth;
|
WindowObject->Width = nWidth;
|
||||||
|
|
Loading…
Reference in a new issue