Programmatically scroll in CListView
Posted on 1997-10-17
In a CListView, I can programmatically select an item by this instruction:
The matter is that if the item is not currently in view, the list control doesn't scroll.
Another problem (but reltaed to the first one) is that MFC has a CListCtrl::GetTopIndex() function, but doen't have the corresponding SetTopIndex().
How can I programmatically scroll the events in the ListCtrl associated with a CListView?