Fixed a bug with the processing of HitTest.

This commit is contained in:
Aric Stewart 2000-05-05 18:22:44 +00:00 committed by Alexandre Julliard
parent 86d0b031bb
commit 7d6e9a1ab0
1 changed files with 4 additions and 1 deletions

View File

@ -697,7 +697,10 @@ HEADER_HitTest (HWND hwnd, WPARAM wParam, LPARAM lParam)
HEADER_InternalHitTest (hwnd, &phti->pt, &phti->flags, &phti->iItem);
return phti->flags;
if (phti->flags == HHT_ONHEADER)
return phti->iItem;
else
return -1;
}