Display custom title or column in Windows Explorer

My application adds some custom metadata to files. I want to show it in Windows Explorer as follows:

Mockup 1

or that:

Mockup 2

Is there a way to do this in .NET?

+7
source share
1 answer

This can be done on XP using the column handler shell extension — see here: http://www.codeproject.com/Articles/3747/Explorer-column-handler-shell-extension-in-C #

However, IColumnHandler not supported in Vista or later. Here you must implement the PropertyHandler . See the Windows SDK \Samples\winui\Shell\AppShellIntegration\PropertyHandlers .

Each property is described by an XML property schema file. This ownership scheme must be registered with PSRegisterPropertySchema() . The property handler implements IInitializeWithXXX , IPropertyStore and optionally IPropertyStoreCapabilities . You need to register the CLSID your implementation for each file extension that you want to handle.

Unfortunately, you cannot use AllFileSystemObject or * when registering.

+7
source

All Articles