Thread: Extracting 32-bit (48x48 +) icons

  1. #1
    Registered User
    Join Date
    Jan 2005

    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
    Join Date
    Jan 2002
    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, 05: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, 12:56 PM
  5. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-25-2001, 11:45 PM