I am making a type of desktop security program for my computer. It is using a virtual desktop with only the icons on it that it is configured to use, using a ListView control. I use the ExtractIcon API to get the icons from .exe, .dll, and .ico files and have figured out how to get other icons from the registry also using ExtractIcon. I can use the DrawIcon API to draw the icons into a picture box. And I can get what's drawn into another picture box with Picture1.image.. no problem. How can I add this to an ImageList, though? OR, is there a better method than this? I have been trying to figure this out for hours now.. Any help is greatly appreciated.
