mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:12:57 +00:00
- Bugfixes and cleanup.
svn path=/trunk/; revision=6513
This commit is contained in:
parent
0f7b9904ab
commit
fda98e2354
4 changed files with 911 additions and 693 deletions
|
@ -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
|
||||||
|
|
|
@ -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. */
|
||||||
|
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue