Clear bLButtonDown flags if mouse is not down.
This commit is contained in:
parent
74fe98a1f8
commit
795de499d5
|
@ -3272,6 +3272,9 @@ static LRESULT LISTVIEW_MouseMove(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, IN
|
||||||
{
|
{
|
||||||
TRACKMOUSEEVENT trackinfo;
|
TRACKMOUSEEVENT trackinfo;
|
||||||
|
|
||||||
|
if (!(fwKeys & MK_LBUTTON))
|
||||||
|
infoPtr->bLButtonDown = FALSE;
|
||||||
|
|
||||||
if (infoPtr->bLButtonDown && DragDetect(infoPtr->hwndSelf, infoPtr->ptClickPos))
|
if (infoPtr->bLButtonDown && DragDetect(infoPtr->hwndSelf, infoPtr->ptClickPos))
|
||||||
{
|
{
|
||||||
LVHITTESTINFO lvHitTestInfo;
|
LVHITTESTINFO lvHitTestInfo;
|
||||||
|
|
Loading…
Reference in New Issue