Article View: borland.public.cppbuilder.nativeapi
Article #9032Re: ParamStr()
From: Gregory K.
Date: Thu, 05 Aug 2004 08:42
Date: Thu, 05 Aug 2004 08:42
30 lines
2218 bytes
2218 bytes
Thank you very much. "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message news:41115956$1@newsgroups.borland.com... > > "Gregory K." <gkoslov@walla.co.il> wrote in message > news:4111559f@newsgroups.borland.com... > > > Well, what I am trying to do is let the user edit the shortcut > > and the file it is pointing to. The user right-clicks the icon and > > chooses "Edit With MyProg". Then a dialog opens where I want > > the user to be able to choose where he wants the shortcut to be > > placed/moved while showing him where it currently is. > > You will probably have to make a Shell Context Menu extension (a DLL > implementing the IContextMenu interface) and register the DLL to handle the > .lnk file extension. When the user right-clicks on any shortcut, your > extension will be invoked specifying the shortcut's filename. Then you can > have the extension utilize the IShellLink interface to extract information > from the shortcut and see if it points to a file with your custom file > extension. If so, then you can choose whether or not to add your new menu > item for editing the shortcut. If you do, then your extension will still > have the shortcut filename available when the menu item is clicked on. > > > Gambit > >
Technical Details
Message-ID:
<4111e4e2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<411100dc@newsgroups.borland.com> <41111ebf$1@newsgroups.borland.com> <4111559f@newsgroups.borland.com> <41115956$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b671c17e7d6b1e9d X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Gregory K." <gkoslov@walla.co.il> Newsgroups: borland.public.cppbuilder.nativeapi References: <411100dc@newsgroups.borland.com> <41111ebf$1@newsgroups.borland.com> <4111559f@newsgroups.borland.com> <41115956$1@newsgroups.borland.com> Subject: Re: ParamStr() Date: Thu, 5 Aug 2004 10:42:14 +0200 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 80.230.217.17 Message-ID: <4111e4e2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1091691746 80.230.217.17 (5 Aug 2004 00:42:26 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail