Commit 30eaa59c authored by Thuy Nguyen's avatar Thuy Nguyen Committed by Alexandre Julliard

Mouse position is signed.

parent 24d4ebfd
......@@ -393,7 +393,7 @@ HEADER_InternalHitTest (HWND hwnd, LPPOINT lpPt, UINT *pFlags, INT *pItem)
*pFlags |= HHT_TOLEFT;
}
else if (lpPt->x > rect.right) {
TRACE("TO LEFT\n");
TRACE("TO RIGHT\n");
*pFlags |= HHT_TORIGHT;
}
......@@ -1234,8 +1234,8 @@ HEADER_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
INT nItem, nWidth;
HDC hdc;
pt.x = (INT)LOWORD(lParam);
pt.y = (INT)HIWORD(lParam);
pt.x = (INT)SLOWORD(lParam);
pt.y = (INT)SHIWORD(lParam);
HEADER_InternalHitTest (hwnd, &pt, &flags, &nItem);
if (infoPtr->bPressed) {
......@@ -1297,8 +1297,8 @@ HEADER_MouseMove (HWND hwnd, WPARAM wParam, LPARAM lParam)
INT nItem, nWidth;
HDC hdc;
pt.x = (INT)LOWORD(lParam);
pt.y = (INT)HIWORD(lParam);
pt.x = (INT)SLOWORD(lParam);
pt.y = (INT)SHIWORD(lParam);
HEADER_InternalHitTest (hwnd, &pt, &flags, &nItem);
if ((dwStyle & HDS_BUTTONS) && (dwStyle & HDS_HOTTRACK)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment