- Bugfixes and cleanup.

svn path=/trunk/; revision=6513
This commit is contained in:
Filip Navara 2003-11-02 14:08:34 +00:00
parent 0f7b9904ab
commit fda98e2354
4 changed files with 911 additions and 693 deletions

View file

@ -25,7 +25,10 @@
/* /*
* Define this to get the code working on ReactOS. It should be removed later. * Define this to get the code working on ReactOS. It should be removed later.
*/ */
/*
Already defined in makefile now.
#define __REACTOS__ #define __REACTOS__
*/
/* /*
* Use w32api headers * Use w32api headers

View file

@ -40,8 +40,6 @@ typedef struct _WINDOW_OBJECT
INT Height; INT Height;
/* Context help id */ /* Context help id */
DWORD ContextHelpId; DWORD ContextHelpId;
/* Parent window handle. */
HWND ParentHandle;
/* system menu handle. */ /* system menu handle. */
HMENU SystemMenu; HMENU SystemMenu;
/* Handle of the module that created the window. */ /* Handle of the module that created the window. */

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: msgqueue.c,v 1.28 2003/10/31 18:25:56 navaraf Exp $ /* $Id: msgqueue.c,v 1.29 2003/11/02 14:08:34 navaraf Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -226,7 +226,7 @@ MsqTranslateMouseMessage(HWND hWnd, UINT FilterLow, UINT FilterHigh,
Window = IntGetWindowObject(Wnd); Window = IntGetWindowObject(Wnd);
SpareLParam = MAKELONG(WinPosWindowFromPoint(ScopeWin, Message->Msg.pt, &Window), Msg); SpareLParam = MAKELONG(WinPosWindowFromPoint(ScopeWin, Message->Msg.pt, &Window), Msg);
Result = NtUserSendMessage(Wnd, WM_MOUSEACTIVATE, (WPARAM)Window->ParentHandle, (LPARAM)SpareLParam); Result = NtUserSendMessage(Wnd, WM_MOUSEACTIVATE, (WPARAM)NtUserGetParent(Window->Self), (LPARAM)SpareLParam);
IntReleaseWindowObject(Window); IntReleaseWindowObject(Window);

File diff suppressed because it is too large Load diff