Re: How to edit context menu of Windows Explorer (Win XP)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



introduction to shell extensions?

These references should help.

Creating Shell Extension Handlers:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/shell_ext.asp

O'Reilly Media -- Bookstore: VB Shell Programming:
http://www.oreilly.com/catalog/vbshell/

Shell Extension Interfaces v1.01 (SHLEXT.tlb):
http://www.vbaccelerator.com/home/VB/Type_Libraries/Shell_Extension_Interfaces/article.asp

Visual Basic Shell Programming: Chapter 4: Context Menu Handlers:
http://www.oreilly.com/catalog/vbshell/chapter/ch04.html

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Thomas Schuster" <thomas.schuster@xxxxxxxxxxxx> wrote in message news:OtEIwVReHHA.3648@xxxxxxxxxxxxxxxxxxxxxxx
Ramesh, MS-MVP schrieb:
Thomas,

right click somewhere within that empty folder

When you right-click on an empty space in a folder window, the shell extensions defined in the following registry locations load:

HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers

To add an additional context menu item in the above location, you'll have to write (program) a shell extension - context menu handler. Adding static menu items in the above location is not possible in Windows XP.

Thanks for your quick reply.

I was writing a vb script that should be used in context menu. If I got
that correct something like a command entry that calls my script
wouldn't work at this point. So my question would be, can you recommend
any readings as introduction to shell extensions?
.



Relevant Pages

  • Re: Explorer hangs when browsing files in XP
    ... it hangs as soon as I right click ... context menu entry. ... If not then download a shell extension ... Disable each non microsoft entry one at a time to see if ...
    (microsoft.public.windowsxp.general)
  • Re: AVG Free -- where does command come from that says "Scan with AVG Free" in context menu?
    ... .This has a simple activate/deactivate choice.As you mention though,an ... reinstallation or repair (im also assuming thats part of the free AVG ... installer) should put the context scan back where it belongs. ... You are probably right as that .dll is related to shell extension too.On ...
    (alt.comp.anti-virus)
  • [Q] QueryContextMenu() question...
    ... I am writing a shell extension and have followed the demo in the ActiveX\ShellExt ... However it appears that my context menu only appears when I right mouse ... click on DPR file. ...
    (borland.public.delphi.language.objectpascal)
  • XP Visual Styles
    ... I've created a context menu shell extension that launches a dialog box when ... dialog box to use XP visual styles. ...
    (microsoft.public.vc.atl)
  • Re: Right Clicking Issues
    ... This is most likely a 3rd party shell extensions issue. ... Right-click is slow or weird behavior caused by context menu handlers: ... Ramesh Srinivasan, Microsoft MVP ...
    (microsoft.public.windows.vista.general)