473,513 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Virtual List View and VirtualListSize property

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
1 2449
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
7848
by: R.Wieser | last post by:
Hello All, I'm trying to get a "Virtual Listbox" to work. I've currently got a form, and used CreateWindowExA to create a ListBox with the LBS_OWNERDRAWFIXED and LBS_NODATA flags on it. I've...
0
1591
by: Anushya | last post by:
Hi I am trying to add image items to listview. Here how to handle if i need to add images?? Pls go thru the code. In the form where i have used this virtualListView, have handled...
9
2364
by: Neil | last post by:
I've been discussing here a SQL 7 view which scrolls slowly when linked to an Access 2000 MDB. After trying various things, I've distilled it down to the following: when the linked view has a...
32
4469
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
10
11309
by: Danny Tuppeny | last post by:
Hi All, I'm trying to find the best way to select an item in a ListView using the Virtual mode. My "items" are business classes, and I have a reference to once I want to select (passed from...
2
2498
by: Edward Diener | last post by:
In C++ an overridden virtual function in a derived class must have the exact same signature of the function which is overridden in the base class, except for the return type which may return a...
0
7525
by: Brian Henry | last post by:
Since no one else knew how to do this I sat here all morning experimenting with this and this is what I came up with... Its an example of how to get a list of items back from a virtual mode list...
0
3214
by: Brian Henry | last post by:
Here is another virtual mode example for the .NET 2.0 framework while working with the list view. Since you can not access the items collection of the list view you need to do sorting another...
34
18146
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
0
7265
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
7114
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7541
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5693
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5098
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3240
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
461
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.