From 8b3da5e3bad9e5ac91fed6a35661fde10f5f97b6 Mon Sep 17 00:00:00 2001 From: Paul Rupe Date: Thu, 10 Oct 2002 18:56:50 +0000 Subject: [PATCH] Scroll the listview when doing multiple selections. --- dlls/comctl32/listview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index cf11951e37b..497e7daf4b9 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -2502,7 +2502,6 @@ static BOOL LISTVIEW_KeySelection(LISTVIEW_INFO *infoPtr, INT nItem) { bResult = TRUE; LISTVIEW_SetSelection(infoPtr, nItem); - ListView_EnsureVisible(infoPtr->hwndSelf, nItem, FALSE); } else { @@ -2519,9 +2518,9 @@ static BOOL LISTVIEW_KeySelection(LISTVIEW_INFO *infoPtr, INT nItem) { bResult = TRUE; LISTVIEW_SetSelection(infoPtr, nItem); - ListView_EnsureVisible(infoPtr->hwndSelf, nItem, FALSE); } } + ListView_EnsureVisible(infoPtr->hwndSelf, nItem, FALSE); } UpdateWindow(infoPtr->hwndSelf); /* update client area */