Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - ListView - some missing events/properties
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ListView - some missing events/properties

 Post Reply Post Reply
Author
Message
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Topic: ListView - some missing events/properties
    Posted: 16 November 2007 at 3:10am
Hi Codejock,

In trying to implement a 'file list' type control using the Codejock ListView I came across a few missing features.

Basically, loading the icons for each item is time consuming if there are a large number of files. The correct way to go about it is to load icons for each item as needed and then cache. This would be fine BUT:

1. There's no ListView_Scroll event and so no way to detect when items icons might need loading.
2. There's no ListViewItem.IsVisible property (I see the ListView.GetFirstVisible method, but then I need to check following items are visible or not)

I'm not even sure if the above 'missing' features would accurately solve the problem anyway (sort order would affect things also I imagine).

Maybe this could be done with a ListView_GetVisibleItemsIndexes method, or a ListView.VisibleListItems collection.

Also, how about having a method added to the ImageManager control:
ImageManager.LoadFileIcon(filename as string) - get's the system icon used for specified file.

Finally, maybe 'FileListView' and 'FolderBrowser' controls would be a good addition to the SuitePro bundle? FileListView would need a Filter property to only show matching files, and an option to show 'preview' images for png files etc.

Cheers

Ian
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.