comctl32: Ensure listview control has focus when marquee dragging.
This commit is contained in:
parent
f1bb67222e
commit
36e9153f38
|
@ -9539,6 +9539,9 @@ static LRESULT LISTVIEW_LButtonDown(LISTVIEW_INFO *infoPtr, WORD wKey, INT x, IN
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!infoPtr->bFocus)
|
||||
SetFocus(infoPtr->hwndSelf);
|
||||
|
||||
/* remove all selections */
|
||||
if (!(wKey & MK_CONTROL) && !(wKey & MK_SHIFT))
|
||||
LISTVIEW_DeselectAll(infoPtr);
|
||||
|
|
Loading…
Reference in New Issue