Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In windows .Net development how do you gain access to the active selection of files that are shown as highlighted in the OS? I've been digging around in the .Net api browser and am not seeing what I am looking for.

The outcome I am looking for is a process I can use to make an OS/explorer extension to either the explorer window or the right-click context menu to quick select files of the same type.

example:

* click on an .png file on my desktop
* right click the file to open the context menu
* choose "select similar type"
* windows selection is edited to have all the .png files on the desktop selected/highlighted

This seems like such a simple task, but the api doesn't seem to support it. Does anyone know where I should be looking to find this functionality?

What I have tried:

I've been digging around in the .Net api browser and am not seeing what I am looking for.
Posted
Updated 29-Jan-20 6:14am
Comments
Richard Deeming 29-Jan-20 12:23pm    
Sounds like you're trying to build a shell extension:
.NET Shell Extensions - Shell Context Menus[^]
[no name] 30-Jan-20 10:53am    
Who has "png files" on their "desk top"? I don't. I have "icons".

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900