Scroll the listview when doing multiple selections.

This commit is contained in:
Paul Rupe 2002-10-10 18:56:50 +00:00 committed by Alexandre Julliard
parent 0a17edf3a5
commit 8b3da5e3ba
1 changed files with 1 additions and 2 deletions

View File

@ -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 */