* 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.92 2003/08/15 02:51:53 silverblade Exp $
+/* $Id: window.c,v 1.93 2003/08/15 10:53:16 rcampbell Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
WindowObject->ExStyle = dwExStyle;
WindowObject->Style = dwStyle;
DbgPrint("1: Style is now %d\n", WindowObject->Style);
-
- if (0 == (dwStyle & WS_CHILD))
- {
- WindowObject->Flags |= WIN_NCACTIVATED;
-
- // THIS MESSES UP BUTTONS: WIN_NCACTIVATED == BS_BITMAP !
- WindowObject->Style = WindowObject->Style | WIN_NCACTIVATED;
- DbgPrint("2: Style is now %d\n", WindowObject->Style);
- }
+
WindowObject->x = x;
WindowObject->y = y;
WindowObject->Width = nWidth;
DPRINT("NtUserCreateWindow(): About to show window\n");
WinPosShowWindow(WindowObject->Self, dwShowMode);
}
-
+ /* FIXME: Should code be reworked to accomodate the following line? */
+ DbgPrint("Setting Active Window to %d\n\n\n",WindowObject->Self);
+ NtUserSetActiveWindow(WindowObject->Self);
DPRINT("NtUserCreateWindow(): = %X\n", Handle);
return((HWND)Handle);
}
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: winpos.c,v 1.23 2003/08/11 21:10:49 royce Exp $
+/* $Id: winpos.c,v 1.24 2003/08/15 10:53:16 rcampbell Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
{
ActiveQueue->ActiveWindow = NULL;
}
+ /* FIXME: Unset this flag for inactive windows */
+ //if ((Window->Style) & WS_CHILD) Window->Flags |= WIN_NCACTIVATED;
/* FIXME: Send palette messages. */