Extracting 32-bit (48x48 +) icons

This is a discussion on Extracting 32-bit (48x48 +) icons within the Windows Programming forums, part of the Platform Specific Boards category; Hi all. I have a routine that loops though all files in a folder and I'm using SHGetFileInfo() to get ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    2

    Extracting 32-bit (48x48 +) icons

    Hi all.

    I have a routine that loops though all files in a folder and I'm using SHGetFileInfo() to get the icon from each file.

    Trouble is, it's only getting the 32x32 "large" icons and I'm running XP and want to get the 32-bit 48x48 - or larger icons instead (most of the files I'm testing with have them).

    I have been doing lots of Googling and not found a straight answer to this. If it helps, the end result I want is a BMP of the 48x48 icon, not another ICO file.

    Thanx v.much in advance for any help!

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    You may have to get the icon information directly from each file. Information on how to do this can be found in Icons in win32.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 05-21-2009, 06:47 PM
  2. binary numbers
    By watshamacalit in forum C Programming
    Replies: 4
    Last Post: 01-14-2003, 11:06 PM
  3. 16 bit or 32 bit
    By Juganoo in forum C Programming
    Replies: 9
    Last Post: 12-19-2002, 07:24 AM
  4. 32 bit or 16 ???
    By GiraffeMan in forum C Programming
    Replies: 11
    Last Post: 04-24-2002, 01:56 PM
  5. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-26-2001, 12:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21