Clear bLButtonDown flags if mouse is not down.

This commit is contained in:
Ulrich Czekalla 2005-11-02 10:56:12 +00:00 committed by Alexandre Julliard
parent 74fe98a1f8
commit 795de499d5
1 changed files with 3 additions and 0 deletions

View File

@ -3272,6 +3272,9 @@ static LRESULT LISTVIEW_MouseMove(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, IN
{
TRACKMOUSEEVENT trackinfo;
if (!(fwKeys & MK_LBUTTON))
infoPtr->bLButtonDown = FALSE;
if (infoPtr->bLButtonDown && DragDetect(infoPtr->hwndSelf, infoPtr->ptClickPos))
{
LVHITTESTINFO lvHitTestInfo;