Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting icons from resource- or any other file (info)
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Extracting icons from resource- or any other file (info)
Miscellaneous
Thread ID:
00728968
Message ID:
00728968
Views:
50
Hi,

I have just uploaded IconBuddy for VFP7 Version 1.2 in the download-area (download#15832).

IconBuddy is a small class that allows You to extract icons from executables and dlls, or
even get the associated icons for excel spread-sheets and thelike. Icons are provided as
objects that can directly be used in ImageLists.

There are methods to retrieve either single icons, large/small icon-pairs and all icons of a single file.

low level methods are provided as well that return iconHandles in case You need to do something with them.

IconBuddy has a CHM-helpfile and as SAMPLE.SCX that uses ImageList- and Listview-controls

Version 1.2 now has a method that extracts an icon and directly adds it to an imageList. If the key for an image is already existing, the index of that image will be returned, and the Image will not be added to the ImageList again. So most of the tasks can be done in a single command.

Have fun with it.
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Next
Reply
Map
View

Click here to load this message in the networking platform