Get icon shortcut overlay when using IExtractIcon?

Viewed 110

I'm working on changing some existing code that uses IExtractIcon to get the icon to add to an imagelist used to display files. It looks up the location IExtractIcon::GetIconLocation(), checks a std::map to see if the given location/icon index hash exists, if so uses the index to the imagelist from the map, otherwise uses IExtractIcon::Extract() to get it add add to the imagelist and the imagelist index to the map.

That is working, but the icons for shortcuts don't have the overlay and I need to have the overlay shown. Is there a way to use IExtractIcon to get the icon with the overlay? Or way for me to add it? Or is there a better way to do this overall and get it with the shortcut overlay (if it's a shortcut of course).

Thanks.

0 Answers
Related