Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Extract Icons with Multiple sizes and color depth from file???

Status
Not open for further replies.

Josh68

Programmer
Jan 1, 2003
1
FR
Hi all

I'm trying to extract icons from files with the
ExtractIconEx procedure: I get 2 pointers to HIcons (large
and small size) that I can send for example to a TTreeview
using AddIcon.
I know that each icon is stored in a *.dll or *.exe file
with various sizes and color depths (16x16, 32x32, etc..
16 colors, 256 colors, etc..) but I don't know how to
specify which definition to extract. I have looked around
on the web with no success.

Am I missing something? Is it more difficult then I expect?
Thanx for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top