use GET_X_LPARAM macro in WM_MOUSEMOVE handlers
Modified: trunk/reactos/subsys/system/explorer/shell/mainframe.cpp
Modified: trunk/reactos/subsys/system/explorer/utility/window.cpp
_____
Modified: trunk/reactos/subsys/system/explorer/shell/mainframe.cpp
--- trunk/reactos/subsys/system/explorer/shell/mainframe.cpp
2005-10-05 19:48:29 UTC (rev 18278)
+++ trunk/reactos/subsys/system/explorer/shell/mainframe.cpp
2005-10-05 19:49:37 UTC (rev 18279)
@@ -1466,7 +1466,7 @@
case WM_MOUSEMOVE:
if (GetCapture() == _hwnd) {
- int x = LOWORD(lparam);
+ int x = GET_X_LPARAM(lparam);
ClientRect rt(_hwnd);
_____
Modified: trunk/reactos/subsys/system/explorer/utility/window.cpp
--- trunk/reactos/subsys/system/explorer/utility/window.cpp
2005-10-05 19:48:29 UTC (rev 18278)
+++ trunk/reactos/subsys/system/explorer/utility/window.cpp
2005-10-05 19:49:37 UTC (rev 18279)
@@ -472,7 +472,7 @@
case WM_MOUSEMOVE:
if (GetCapture() == _hwnd) {
- int x = LOWORD(lparam);
+ int x = GET_X_LPARAM(lparam);
ClientRect rt(_hwnd);
Show replies by date