Hi:
I've been using the SHGetFileInfo API function to obtain file-type specific information on various files. I've extracted the file description text without problem. This function also returns the associated file-type icon as an icon handle (hIcon). I would like to add selected icons to an ActiveX ImageList. I've searched, but there seems to be no way to add images to an ImageList when all you have to work with is hIcons. Anyone know how?
I've also seen mention of a routine called IExtractIcon, which they say is simpler, but I have no way of knowing how to use this in FoxPro, or if it's even possible.
Any help would be appreciated.
Derm
I've been using the SHGetFileInfo API function to obtain file-type specific information on various files. I've extracted the file description text without problem. This function also returns the associated file-type icon as an icon handle (hIcon). I would like to add selected icons to an ActiveX ImageList. I've searched, but there seems to be no way to add images to an ImageList when all you have to work with is hIcons. Anyone know how?
I've also seen mention of a routine called IExtractIcon, which they say is simpler, but I have no way of knowing how to use this in FoxPro, or if it's even possible.
Any help would be appreciated.
Derm