Click here to Skip to main content
15,896,493 members
Articles / Desktop Programming / Win32

.NET Shell Extensions - Shell Drop Handlers

Rate me:
Please Sign up or sign in to vote.
5.00/5 (15 votes)
19 Jan 2013CPOL7 min read 54.4K   2.1K   36  
Rapidly create Shell Drop Handler Extensions using .NET
Context Menu
============

* Support check items.

* Support
  - File Class
  - File Extension (only)
  - File Class by Extension
  - All Files
  - Directory
  - Drive
  - Unknown

Property Sheet
==============

Icon Handler
============

DONE: Create an example icon handler that shows whether an assembly is managed or not.
DONE: Set DefaultIcon to %1 when registering an icon handler server.
DONE: Store the old DefaultIcon in the registry class when changing to %1 so
  that it can be restored on unregistration. Currently there are permission issues.
* Seems like when the icon handler is used multiple times in the same parent folder, icons
  are not correct - may be a sharing issue.

Server Manager
==============

DONE: Support Icon Handler tests, calling the one key function and having a dummy shell.
* Support Property Sheet tests, calling the two key functions and having a dummy shell.
* Allow Enable/Disable event log.
* Allow Quick View of event log.
* Show testing context menu items in bold, only test associated items.

Unit Tests
==========

* It would be entirely possible to test the server registration manager with unit tests - 
however, they would really be integration tests as they'd have to be run on different 
operating systems with different processor architectures.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United Kingdom United Kingdom
Follow my blog at www.dwmkerr.com and find out about my charity at www.childrenshomesnepal.org.

Comments and Discussions