Article View: borland.public.cppbuilder.nativeapi
Article #10980Re: Registry key
From: Remy Lebeau (TeamB)
Date: Tue, 02 Mar 2004 18:41
Date: Tue, 02 Mar 2004 18:41
30 lines
2183 bytes
2183 bytes
"fisher" <na> wrote in message news:4044a86b$1@newsgroups.borland.com... > I have a registry key, that creates an entry at the top of > my context menu, above the 'open' entry. It shows under > '\HKEY_CLASSES_ROOT\*\shell\CleanFile\command'. > It performs an action against the file, when the file is > double-clicked. It would only do that for files that do not already have their own default commands set up elsewhere in the Registry. The "*" key is a sort of catch-all that handles files which don't have their own specific handlings already. > As I do not want this to happen to every file, how do > I move it below the 'open' entry You cannot, if you use the "*" key. It fills in the context menu before the file-specific commands are filled in, that is why your command always appears at the top of the context menu. Besides, placement of the command within the context menu makes no difference at all. If you right-click on a file, the menu item that is actually displayed as bold, regardless of positioning, is the file's default command, and is the one that will be triggered on a double-click. It sounds like your command has become the default command for files that do not already have default commands of their own. Gambit
Technical Details
Message-ID:
<4044d3cc$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4044a86b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9b7d278ed9815cce X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-02 10:40:36 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4044a86b$1@newsgroups.borland.com> Subject: Re: Registry key Date: Tue, 2 Mar 2004 10:41:51 -0800 Lines: 32 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: 67.22.138.253 Message-ID: <4044d3cc$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1078252492 67.22.138.253 (2 Mar 2004 10:34:52 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail