Question

I'm developing a explorer data provider based on this sample. I already added drag & drop support. Now I want that the files and folders can be ordered by filetyp, size or whatever. The problem seems that the virtual files have only the name property like you can see on the screenshot.

Screenshot of shell extension

How can I add more properties or columns to order the content?

Was it helpful?

Solution

The solution is to write a class which implement ICategorizer and to add a mapping into IShellFolder2::MapColumnToSCID between the index and the PROPERTYKEY and also to add a mapping info IShellFolder2 ::GetDetailsOf for index and the column name.

That is all :-)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top