Discussion:
Ownerdata listview in report mode - have it behave as a "sliding window"
(too old to reply)
R.Wieser
2019-05-03 15:23:22 UTC
Permalink
Hello all,

I've created a simple hex viewer using a listview in report and "owner data"
mode, and am running into a problem: it only handles upto a hundred-million
rows. Even with eight bytes a row that means that I'm limited to files no
bigger than 800 MByte. And thats simple too little for the current days
filesizes.

So, I've been thinking about a "sliding window" method where the listview
only handles as many rows as needed to display

The problem is that when I let the listviews index "roll over" (from bottom
to top or vise-verse when another block of data is loaded)) I cannot seem to
find a method which will keep the newly selected row at the top or bottom.
In other words: while moving thru the data the "cursor" will behave as if I
am leafing thru pages of it, instead of one continuous block.

tl;dr:
Does anyone here have any knowledge/info/example about using a ListView on
more data than it can actually handle. Although I've been looking at a
"sliding window" solution I'm (ofcourse) open to others too. :-)
Charlie Gibbs
2019-05-03 16:47:28 UTC
Permalink
Post by R.Wieser
Does anyone here have any knowledge/info/example about using a ListView on
more data than it can actually handle. Although I've been looking at a
"sliding window" solution I'm (ofcourse) open to others too. :-)
I gave up on listviews and all their quirks. It's not that hard to
roll your own.
--
/~\ ***@kltpzyxm.invalid (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ Fight low-contrast text in web pages! http://contrastrebellion.com
Loading...