Board index » delphi » Explorer Context Menu

Explorer Context Menu

Quote
Jaesen Jones wrote in message

<7al3fk$m8...@reader1.reader.news.ozemail.net>...

Quote
>How does one add application specific options to the Windows Explorer
>context menu?

If you have Delphi 3, check out the Demos Directory for a
 Context Menu example.

***********************************
James R Hochschild
j.hochsch...@csuohio.edu
ICQ 29970023
Delphi 3.0,  MATLab 5.0  &  MathCAD 8.0
Programmer & Hobbyist
Powered by WinNT 4.0 !
***********************************

 

Re:Explorer Context Menu


In article: <7al4aq$21...@csu-b.csuohio.edu>  "Rick" <no...@nowhere.com> writes:

Quote

> Jaesen Jones wrote in message
> <7al3fk$m8...@reader1.reader.news.ozemail.net>...

> >How does one add application specific options to the Windows Explorer
> >context menu?

> If you have Delphi 3, check out the Demos Directory for a
>  Context Menu example.

You can also cheat by modifiying registry entries in HKEY_CLASSES_ROOT to avoid
having to compile a COM dll. However this method causes problems with the MSOffice
toolbar if the entry is under * (for all files). You'll see that there are two kind of entries
available 'shellext' and 'shell'. 'shellext' is for COM dll's and shell is the cheat.

The cheat method has another disadvantage in that it opens the linked program once for
each selected file (which can cause chaos). The dll method (as in the above mentions
demos) get a list of the selected files and can decide for itself what to do with them.

Quote

--

Greg Lorriman co. inc. & sons Ltd

Other Threads