From b6c5bedb31a20801afefa097ef9cbaedf9961dbc Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Wed, 5 Oct 2005 19:49:37 +0000 Subject: [PATCH] use GET_X_LPARAM macro in WM_MOUSEMOVE handlers svn path=/trunk/; revision=18279 --- reactos/subsys/system/explorer/shell/mainframe.cpp | 2 +- reactos/subsys/system/explorer/utility/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/system/explorer/shell/mainframe.cpp b/reactos/subsys/system/explorer/shell/mainframe.cpp index 0f3edf3a372..096dd2b2160 100644 --- a/reactos/subsys/system/explorer/shell/mainframe.cpp +++ b/reactos/subsys/system/explorer/shell/mainframe.cpp @@ -1466,7 +1466,7 @@ LRESULT SDIMainFrame::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam) case WM_MOUSEMOVE: if (GetCapture() == _hwnd) { - int x = LOWORD(lparam); + int x = GET_X_LPARAM(lparam); ClientRect rt(_hwnd); diff --git a/reactos/subsys/system/explorer/utility/window.cpp b/reactos/subsys/system/explorer/utility/window.cpp index ad2a8f820d7..4b88e4bc161 100644 --- a/reactos/subsys/system/explorer/utility/window.cpp +++ b/reactos/subsys/system/explorer/utility/window.cpp @@ -472,7 +472,7 @@ LRESULT ChildWindow::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam) case WM_MOUSEMOVE: if (GetCapture() == _hwnd) { - int x = LOWORD(lparam); + int x = GET_X_LPARAM(lparam); ClientRect rt(_hwnd);