Scrollbars

Ok, i want to do something like this

I have a file that contains values and commas
1234,3124,512312...... and i have the total number of values (not +)
and I have a listview

For example
File = 129,652,426,9842,3562,5842,651,1654,651,894,321
11 total.

My listview only displays 3 at a time, i want to make a SCROLLBAR for it with range of 11
then my prog gets the position of scrollbar, and read the file to only display the 3 at that position. This is to reduce the time incase i have like 1000000 results.

I know its hard to understand..i got this idea from
first off, don't put it into a listbox, way to slow (store it in a memory buffer or file on the disk and only display the parts visible based on the scrollposition)

Any help is appreciated
closed account (S6k9GNh0)
What library are u using?
im using windows - not mfc
and streams to read file

i just cant work out the scrolling part...
Last edited on
Topic archived. No new replies allowed.