Ariel file icon extractor
This project demonstrates how to extract large and small icons associated with files into an imagelist and displaying them in a listview with
the filenames. The SHGetFileInfo function of the shell32.dll library is used, which makes the job much easier than before. The ImageList_Draw
function in comctl32.dll is used to draw the icon in a picture box,from where it is placed into the image list. Other submissions on PSC do an OK job on large icons, but the small icons are a mess. Not here! Credits to Peter Meier for his DelRecent posting.
Original Author: Tom de Lange
Side Effects
ImageList can't hold more than 400 icons, so check duplicates.
API Declarations
SHGetFileInfo() in shell32.dll
ImageList_Draw() in comctl32.dll
About this post
Posted: 2002-06-01
By: ArchiveBot
Viewed: 95 times
Categories
Attachments
CODE_UPLOAD1295912222000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 36,256 bytes
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.