Article View: borland.public.cppbuilder.nativeapi
Article #13947Re: Application icon
From: Remy Lebeau (TeamB)
Date: Tue, 09 Sep 2003 17:01
Date: Tue, 09 Sep 2003 17:01
25 lines
1788 bytes
1788 bytes
"FrankW" <nospam@nospam.com> wrote in message
news:3f5dd6af@newsgroups.borland.com...
> now, how to create two short cuts in the desktop that
> will display the two icons?
Create a shortcut on the desktop
http://www.bcbdev.com/faqs/faq79.htm
When using IShellLink, simply call its SetIconLocation() method with the
path to the icon file. In the case of an icon stored in the resources of
the application, specify the path to the executable itself as well as the
index of the icon within the resources, ie:
ShellLink->SetIconLocation("c:\\path\\myapp.exe", 0);
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID:
<3f5e075f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f5dc689$1@newsgroups.borland.com> <3f5dcc69$1@newsgroups.borland.com> <3f5dd6af@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,892b4a2d89b99cfd X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-09 10:07:20 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f5dc689$1@newsgroups.borland.com> <3f5dcc69$1@newsgroups.borland.com> <3f5dd6af@newsgroups.borland.com> Subject: Re: Application icon Date: Tue, 9 Sep 2003 10:01:52 -0700 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f5e075f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063126879 207.175.226.26 (9 Sep 2003 10:01:19 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail