Fixed a bug with the processing of HitTest.
This commit is contained in:
parent
86d0b031bb
commit
7d6e9a1ab0
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue