use GET_X_LPARAM macro in WM_MOUSEMOVE handlers

svn path=/trunk/; revision=18279
This commit is contained in:
Martin Fuchs 2005-10-05 19:49:37 +00:00
parent f382f81ffe
commit b6c5bedb31
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);