comctl32/header: Reset internal drag state on mouse up.

This commit is contained in:
Nikolay Sivov 2009-04-29 21:31:05 +04:00 committed by Alexandre Julliard
parent 1016bd7ec4
commit 4ba9e61661
1 changed files with 2 additions and 1 deletions

View File

@ -1663,7 +1663,8 @@ HEADER_LButtonUp (HWND hwnd, LPARAM lParam)
}
else
InvalidateRect(hwnd, &infoPtr->items[infoPtr->iMoveItem].rect, FALSE);
infoPtr->bDragging = FALSE;
HEADER_SetHotDivider(hwnd, FALSE, -1);
}
else if (!(dwStyle&HDS_DRAGDROP) || !HEADER_IsDragDistance(infoPtr, &pt))