By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,902 Members | 1,337 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,902 IT Pros & Developers. It's quick & easy.

Virtual List View and VirtualListSize property

P: n/a
Is there a maximum number for the VirtualListSize property when using a list
view in Virtual Mode? When I set it to 1,000, 10,000 or 100,000 I seem to
be able to scroll the correct number of items, but when I set it to
1,000,000 the scroll bars behave like there are 1,000,000 items, but
rendering doesn't reflect that number. The "index" property in the owner
draw render override seems to state the correct number however. For
example, page-up and page-down operations in the list only seem to think
there are one and a bit pages of thumbnails.

I'm not getting an exception when I set the value so I assume its a bug
somewhere. Before you all ask why I could possibly want to put that many
items into a list - I've got time-sequenced images here from a database that
could in theory produce around 400,000 images a week so this virtual mode is
pretty much a no-brainer ;).

Any thoughts or am I going to have to implement partitions and set a maximum
number of images in any one folder :(.
Thanks.
Mar 28 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hah, my-bad. I was rendering them incorrectly.

Dunces hat for me for a week ;)

"Duracel" <no****@itsarealshame.comwrote in message
news:lO*********************@giganews.com...
Is there a maximum number for the VirtualListSize property when using a
list view in Virtual Mode? When I set it to 1,000, 10,000 or 100,000 I
seem to be able to scroll the correct number of items, but when I set it
to 1,000,000 the scroll bars behave like there are 1,000,000 items, but
rendering doesn't reflect that number. The "index" property in the owner
draw render override seems to state the correct number however. For
example, page-up and page-down operations in the list only seem to think
there are one and a bit pages of thumbnails.

I'm not getting an exception when I set the value so I assume its a bug
somewhere. Before you all ask why I could possibly want to put that many
items into a list - I've got time-sequenced images here from a database
that could in theory produce around 400,000 images a week so this virtual
mode is pretty much a no-brainer ;).

Any thoughts or am I going to have to implement partitions and set a
maximum number of images in any one folder :(.
Thanks.

Mar 28 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.