|
-
May 11th, 2010, 03:33 PM
#1
Smart shortcut icon?
I've created a shortcut to a folder using this example (http://www.codeguru.com/cpp/w-p/file...icle.php/c7209), passing in CLSID_FolderShortcut to CoCreateInstance(). It works fine, but unfortunately the icon is just a plain folder icon, without the little arrow to indicate that it's a shortcut.
I know that I could use IShellLink::SetIconLocation(), but that seems awfully inefficient - why doesn't the icon get set as a shortcut icon automatically? Is there an easier way to do it than create my own copy of a generic folder-shortcut icon and SetIconLocation() to it?
Thanks in advance for your help.
Kay
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|