Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Extract 48x48 size icon using SHGetFileInfo

Extract 48x48 size icon using SHGetFileInfo

Scheduled Pinned Locked Moved C#
tutorialannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Milan2007
    wrote on last edited by
    #1

    Based on some examples, I've successfully managed to retrieve the 32x32 version of a file icon by passing 0x0 into the uint uFlags parameter of SHGetFileInfo; however, I am unable to figure out how to retrieve the 48x48 version. Let me know if there are any examples out there on this or if you have any suggestions. Thanks!

    J 1 Reply Last reply
    0
    • M Milan2007

      Based on some examples, I've successfully managed to retrieve the 32x32 version of a file icon by passing 0x0 into the uint uFlags parameter of SHGetFileInfo; however, I am unable to figure out how to retrieve the 48x48 version. Let me know if there are any examples out there on this or if you have any suggestions. Thanks!

      J Offline
      J Offline
      JockerSoft
      wrote on last edited by
      #2

      take a look at this article on vbaccelerator.com: it solved my headaches with extralarge icon extraction _______ http://www.jockersoft.altervista.org

      M 1 Reply Last reply
      0
      • J JockerSoft

        take a look at this article on vbaccelerator.com: it solved my headaches with extralarge icon extraction _______ http://www.jockersoft.altervista.org

        M Offline
        M Offline
        Milan2007
        wrote on last edited by
        #3

        Absolutely perfect! Well, I can throw away the code I had because this is exactly what I need. Although, I’m glad I struggled my way to get to this point as I picked up some really great experience along the way. Anyways, thanks for your help. I owe you one! Milan

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups