This project has moved. For the latest updates, please go here.

Registering with other Shell Objects

Apr 10, 2011 at 7:47 PM

Would be handy to be able to register with other shell objects, for example AllFileSystemObjects: http://msdn.microsoft.com/en-us/library/cc144110(v=vs.85).aspx  This would allow extensions to be available for more than just one extension type, including directories if needed.  I added a few methods to RootKey.cs to support registring with a few of these, the updated source is hosted here: http://enginexp.com/files/rootkey.cs.txt  

The only thing I haven't been able to get working is having the context menu visible when the user clicks on the background of a folder.  Supposedly registering under Directory\Background\shellex\ContextMenuHandlers is supposed to accomplish this but it doesn't seem to work.  I'm starting to wonder if this is a limitation of managed shell extensions.  If anybody has been able to make this work or has more information let me know.

Kevin.