Get the icon from a file or folder
Frage / Problem
I want to get the icons from a file or folder. Can I use a ShellBrowser component?
Antwort / Lösung
The best way to get icons is to use the TJamSystemImageList component, which is a descendant of Delphi 's ImageList component.
Use the method GetFolderIconNumber() to receive the image index of the default Windows Explorer folder icon.