Opened 15 years ago

Last modified 10 years ago

#299 new enhancement

Implement a WinLoadFileIcon wrapper to "lazy load" icons from slow file systems

Reported by: Gregg Young Owned by:
Priority: minor Milestone: Release_4.0
Component: fm/2 base Version: 3.14
Keywords: Cc:

Description

What we could do is Implement a WinLoadFileIcon? wrapper. This would look at the file system type and either load the icon immediately or post a message to the object window. The wrapper would return a generic icon for the delayed loads. Eventually, the object window would load the true icon and update the container, assuming the CNRITEM still exists.

For performance, we would probably want to maintain an array of DRVINFO structures, indexed by drive number, that caches the file system type along with other useful drive status. The driveflags could move to this structure too. Since mapped drives can come and go, some care will be needed to keep the DRVINFO data up to date

Change History (1)

comment:1 Changed 10 years ago by Steven Levine

Milestone: Release_4.0
Note: See TracTickets for help on using tickets.