PDA

View Full Version : FreeDLL: GetIconDLL


RizlaUK
10-11-2007, 09:11 AM
Hi Folks,

heres another dll from me, this one will extract a icon file from a exe or dll file and save it to the selected file format,

the dll contains 4 functions (all self explanatory)
CountIcons
ExtraxtIconICO
ExtraxtIconBMP
ExtraxtIconPNG

NOTE, When useing ExtraxtIconBMP or ExtraxtIconPNG you must set the argument for the size (16x16 or 32x32) this argument is not needed with ExtraxtIconICO

you can find the ams functions and some notes on how to use them in page onshow, run the example and click one of the images to loop through the icons in "shell32.dll"

Have fun and feedback welcome

TimeSurfer
02-14-2008, 03:52 AM
hey rizla outta curiousity can this be used in say a tree object? would be nice to be able to replicate a explorer window =p

I'm trying to figure out how to attach the imageicon of the files found via file.find to a tree's imagelist. dunno if this is even possible so thought id ask =p

RizlaUK
02-14-2008, 08:53 AM
you can change the images in a tree object, but i dont think it an be done on the fly, you will need to make a image strip and set the nodes icon index, and in the trees properties window set the tree image,

here is a strip i made a while ago (you can use as a template)

RizlaUK
02-14-2008, 08:58 AM
heres how they look in a tree

TimeSurfer
02-14-2008, 01:19 PM
thanks rizla appreciate it

Intrigued
02-14-2008, 06:35 PM
I make something like this as well, but it's apart of a commercial release and I was unable to share it because of such.

qwerty
02-16-2008, 04:10 AM
this looks interesting thanks :)