Do we have anything new since 2007 in delphi, i mean a ready to use function to get the associated icon for a file-suffix?
Do we have anything new since 2007 in delphi, i mean a ready to use function to get the associated icon for a file-suffix?
In past we have used SHGetFileInfo with (SHGFI_ICON or SHGFI_LARGEICON)
In past we have used SHGetFileInfo with (SHGFI_ICON or SHGFI_LARGEICON)
David Heffernan i think this is not very important for our users, they will restart our application and the new icons will get visible.
ReplyDeleteYusuf Zorlu If you just removed the cache then your code would be simpler, and the users would not need to restart.
ReplyDeleteDavid Heffernan He is caching icons for the run time of his app. If icons are changed for associated files, I think there will be a message he could intercept to refresh the cache. Whether it pays off to cache or not, depends on how frequently he needs to display the icons.
ReplyDelete