🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11541

Re: fetch commando argument - multiple files

#11541
From: Remy Lebeau (TeamB)
Date: Tue, 03 Feb 2004 23:37
27 lines
2180 bytes
"nik" <neusser@okstate.edu> wrote in message
news:402023c1@newsgroups.borland.com...

> can you tell me, what steps I have to follow in order to  install
> a Shell Extension DLL as you described it?

You have to write the actual DLL first.  You need to implement the
IContextMenu and IShellExtInit interfaces.  The ITEMIDLIST pointers for all
of the currently selected files is passed inside of an IDataObject interface
to the IShellExtInit::Initialize() method.  You need to extract the filename
from that and store them for later use.  Then the IContextMenu interface is
used for updating the visual popup menu and determining what operation the
user chooses.

Have a look at MSDN for more information:

    Creating Shell Extension Handlers

http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/shell_ext.asp

    Creating Context Menu Handlers

http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/contextmenuhandlers.asp


Gambit
Technical Details
Message-ID: <40202ef8@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-mail
References: <401dd9bc@newsgroups.borland.com> <401deae8@newsgroups.borland.com> <40200434$1@newsgroups.borland.com> <40201123@newsgroups.borland.com> <402023c1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5c52809e13a7bad5
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-03 15:40:07 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <401dd9bc@newsgroups.borland.com> <401deae8@newsgroups.borland.com> <40200434$1@newsgroups.borland.com> <40201123@newsgroups.borland.com> <402023c1@newsgroups.borland.com>
Subject: Re: fetch commando argument - multiple files
Date: Tue, 3 Feb 2004 15:37:12 -0800
Lines: 29
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: <40202ef8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075851000 67.22.138.253 (3 Feb 2004 15:30:00 -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