Icons

  • Thread starter Thread starter cal
  • Start date Start date
C

cal

Hi group,

Wich one is the class to handle desktop icons?
I want to modify for example the file path the Icon points to.
of course, its the path of the file u open when u doubleclick the icon.

Are there managed classes available ?, thanks, Carlos.
 
thanks Sheng, By the way I believe those little pictures are not really
shortcuts nor icons, but a something diferent thing.
 
You mean shortcuts?
IShellLink is the API to access shortcut files. I am not aware any wrapper
class of the interface in .Net base class lib or MFC/ATL.
 
cal said:
thanks Sheng, By the way I believe those little pictures are not
really shortcuts nor icons, but a something diferent thing.

Some of the icons on your desktop are shortcuts, including all the ones that
open files by path. The icon for the shortcut is specified in additional to
the file it points to.
You may also have some "real" files on your desktop. These icons are
determined by the file extension associations.
And there may be some special icons which activate Explorer plugins
(typically My Computer, Recycle Bin, Network Neighborhood), for these the
action is specified in the registry and is much more complex than a file
path.

Which are you referring to?

codeproject.com has some .NET classes for dealing with shortcuts.
 
Back
Top