mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 09:12:20 +00:00
- Cleanup and minor changes.
- The use of CSRSS for creating the desktop window is a cleverly written hack. Real genius! The down side, this is a good example of thread coding, I do hate having to remove it. We could just leave it in there unused to keep it as an example. Let me know. svn path=/trunk/; revision=42011
This commit is contained in:
parent
1f53c74091
commit
c0db0a0a0b
4 changed files with 6 additions and 43 deletions
|
@ -11,7 +11,7 @@
|
|||
#include "w32csr.h"
|
||||
#include <debug.h>
|
||||
|
||||
#define DESKTOP_WINDOW_ATOM 32769 //32880
|
||||
#define DESKTOP_WINDOW_ATOM 32769
|
||||
|
||||
#define PM_SHOW_DESKTOP 1
|
||||
#define PM_HIDE_DESKTOP 2
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
static struct
|
||||
{
|
||||
int FnId;
|
||||
INT ClsId;
|
||||
int ClsId;
|
||||
} FnidToiCls[] =
|
||||
{
|
||||
{ FNID_BUTTON, ICLS_BUTTON},
|
||||
|
@ -61,7 +61,7 @@ LockupFnIdToiCls(int FnId, int *iCls )
|
|||
{
|
||||
int i;
|
||||
|
||||
for ( i = 0; i < 11; i++)
|
||||
for ( i = 0; i < (sizeof(FnidToiCls)/2)/sizeof(int); i++)
|
||||
{
|
||||
if (FnidToiCls[i].FnId == FnId)
|
||||
{
|
||||
|
|
|
@ -1,27 +1,8 @@
|
|||
/*
|
||||
* ReactOS W32 Subsystem
|
||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Id: painting.c 16320 2005-06-29 07:09:25Z navaraf $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* PURPOSE: ntuser init. and main funcs.
|
||||
* FILE: subsys/win32k/ntuser/ntuser.c
|
||||
* FILE: subsystems/win32/win32k/ntuser/ntuser.c
|
||||
* REVISION HISTORY:
|
||||
* 16 July 2005 Created (hardon)
|
||||
*/
|
||||
|
|
|
@ -1,26 +1,8 @@
|
|||
/*
|
||||
* ReactOS W32 Subsystem
|
||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* PURPOSE: Windows
|
||||
* FILE: subsys/win32k/ntuser/window.c
|
||||
* FILE: subsystems/win32/win32k/ntuser/window.c
|
||||
* PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
|
||||
* REVISION HISTORY:
|
||||
* 06-06-2001 CSH Created
|
||||
|
@ -1597,7 +1579,7 @@ co_IntCreateWindowEx(DWORD dwExStyle,
|
|||
* message window (style: WS_POPUP|WS_DISABLED)
|
||||
*/
|
||||
ParentWindowHandle = IntGetMessageWindow();
|
||||
DPRINT1("Parent is HWND_MESSAGE 0x%x\n", ParentWindowHandle);
|
||||
DPRINT("Parent is HWND_MESSAGE 0x%x\n", ParentWindowHandle);
|
||||
}
|
||||
else if (hWndParent)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue