Icons with shortcut layers
-
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
-
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
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