Hi.
Have any of you ever tried to extract an icon from a DLL, and show it in a picturebox on WinXP?
The alphablended part of the icon is converted to a solid black.
I found some code on PSC but for some strange reason it only works on icons extracted with SHGetFileInfo API and not the ExtractIconEx API. And of course, I need to use ExtractIconEx because I need to pass an index to the icon I want.
Does anyone know how to restore the alphablend regardless of the API?
Or does anyone know how to specify which icon to extract using SHGetFileInfo?




Reply With Quote