Re: Explanation of ListView in virtual mode
"Lloyd J. Franklin" <[email protected]> Wed, 8 Aug 2007 06:03:43 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
From memory, if it helps, I built a virtual listview about ten years ago with MFC. It was for a bank to show a view of hundreds of thousands of rows. The virtual listview was the only option. The real issue was the timely and correct retrieval/caching of the underlying data and keeping that coordinated with the virtual view. Also giving the user some useful navigational abilities. The description you gave of behaviour sounds about right to me, as you are literally servicing the paint of the item and subitems, icons etc. The listview is relying on you to hold the data and will frequently need to access it. The amount of activity after your source rowcount exceeds the view rowcount should not change in the UI element of the overall task.