Commit 8b3da5e3 authored by Paul Rupe's avatar Paul Rupe Committed by Alexandre Julliard

Scroll the listview when doing multiple selections.

parent 0a17edf3
...@@ -2502,7 +2502,6 @@ static BOOL LISTVIEW_KeySelection(LISTVIEW_INFO *infoPtr, INT nItem) ...@@ -2502,7 +2502,6 @@ static BOOL LISTVIEW_KeySelection(LISTVIEW_INFO *infoPtr, INT nItem)
{ {
bResult = TRUE; bResult = TRUE;
LISTVIEW_SetSelection(infoPtr, nItem); LISTVIEW_SetSelection(infoPtr, nItem);
ListView_EnsureVisible(infoPtr->hwndSelf, nItem, FALSE);
} }
else else
{ {
...@@ -2519,9 +2518,9 @@ static BOOL LISTVIEW_KeySelection(LISTVIEW_INFO *infoPtr, INT nItem) ...@@ -2519,9 +2518,9 @@ static BOOL LISTVIEW_KeySelection(LISTVIEW_INFO *infoPtr, INT nItem)
{ {
bResult = TRUE; bResult = TRUE;
LISTVIEW_SetSelection(infoPtr, nItem); LISTVIEW_SetSelection(infoPtr, nItem);
ListView_EnsureVisible(infoPtr->hwndSelf, nItem, FALSE);
} }
} }
ListView_EnsureVisible(infoPtr->hwndSelf, nItem, FALSE);
} }
UpdateWindow(infoPtr->hwndSelf); /* update client area */ UpdateWindow(infoPtr->hwndSelf); /* update client area */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment