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 / C++ / MFC
  4. Icons with shortcut layers

Icons with shortcut layers

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
2 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.
  • C Offline
    C Offline
    CaesarCZ
    wrote on last edited by
    #1

    Hi, I've made a bad choice in implementing the icon retrieving code in my code. But's hardcoded now and would be toough and bug producing to make any really major corrections now. So anyway, the question: I need to get the icon of some file (SHGetFileInfo), but with shortcut overlay (or shared overlay, but this is not neccessary), for both 16x16 and 32x32 icons. In other words, a image list that would contain both "shortcuted" and standard icons. Thanks in advance

    M 1 Reply Last reply
    0
    • C CaesarCZ

      Hi, I've made a bad choice in implementing the icon retrieving code in my code. But's hardcoded now and would be toough and bug producing to make any really major corrections now. So anyway, the question: I need to get the icon of some file (SHGetFileInfo), but with shortcut overlay (or shared overlay, but this is not neccessary), for both 16x16 and 32x32 icons. In other words, a image list that would contain both "shortcuted" and standard icons. Thanks in advance

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      Add the SHGFI_LINKOVERLAY flag to your SHGetFileInfo call. :) --Mike-- Just released - RightClick-Encrypt v1.4 - Adds fast & easy file encryption to Explorer My really out-of-date homepage Sonork-100.19012 Acid_Helm

      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