Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / April 2008

Tip: Looking for answers? Try searching our database.

Icons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cal - 30 Apr 2008 20:43 GMT
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.
Sheng Jiang[MVP] - 30 Apr 2008 21:03 GMT
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.

Signature

Sheng Jiang
Microsoft MVP in VC++

> Hi group,
>
[quoted text clipped - 3 lines]
>
> Are there managed classes available ?, thanks, Carlos.
cal - 30 Apr 2008 21:04 GMT
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
[quoted text clipped - 7 lines]
> >
> > Are there managed classes available ?, thanks, Carlos.
Ben Voigt [C++ MVP] - 30 Apr 2008 22:00 GMT
> 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.

>> You mean shortcuts?
>> IShellLink is the API to access shortcut files. I am not aware any
[quoted text clipped - 11 lines]
>>>
>>> Are there managed classes available ?, thanks, Carlos.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.