Hello,
I was wondering if anyone knows what Everything does to display its results and makes scrolling fast, since right now I'm using ObjectListView/FastObjectListView for my app which among other things retrieves image and video metadata from many files, but dear lord, the scrolling performance is abhorrent.
Thanks
ObjectListView
Re: ObjectListView
Everything uses a custom SysListView32 control.
Everything creates a standard SysListView32 control, immediately overrides the default windows proc (SetWindowLongPtr) and handles all window messages.
This includes emulating all LVM_* messages.
Everything doesn't update the display immediately on scrolling. (UpdateWindow)
Instead the listview is invalidated. (InvalidateRect)
Updating the listview on scroll can cause slow scrolling and miss scroll events.
Please make sure your control is not updating on scroll.
Everything creates a standard SysListView32 control, immediately overrides the default windows proc (SetWindowLongPtr) and handles all window messages.
This includes emulating all LVM_* messages.
Everything doesn't update the display immediately on scrolling. (UpdateWindow)
Instead the listview is invalidated. (InvalidateRect)
Updating the listview on scroll can cause slow scrolling and miss scroll events.
Please make sure your control is not updating on scroll.
Re: ObjectListView
Thank you for your response.
OK, so this is clearly C/Win32 instead of C#/.NET which is what I'm trying to use. Can I ask you where you're drawing your knowledge from? A book or two would be a good recommendation. Thanks!
OK, so this is clearly C/Win32 instead of C#/.NET which is what I'm trying to use. Can I ask you where you're drawing your knowledge from? A book or two would be a good recommendation. Thanks!
Re: ObjectListView
Nothing really existed when I started Everything and I'm not sure whats out there now.
I have many years of experience writing my own GUI engines from scratch in the DOS days.
Please try using the stock listview in virtual mode.
The performance is pretty good these days.
I have many years of experience writing my own GUI engines from scratch in the DOS days.
Please try using the stock listview in virtual mode.
The performance is pretty good these days.