sharpshell icon indicating copy to clipboard operation
sharpshell copied to clipboard

Can a Sharp Shell Context menu Handler work with the Windows 11 Context Menu?

Open LesFerch opened this issue 11 months ago • 0 comments

I created a context menu handler using Sharp Shell that works fine with the classic context menu.

I was hoping to also add the context menu to the Windows 11 modern context menu by packaging the DLLs in an MSIX with an AppxManifest.xml file. This requires that the COM server for each verb (AllFiles, Directory, Directory Background, Drive) has a unique GUID. I couldn't find a place to set the GUIDs in Sharp Shell. Is that possible?

Perhaps it wouldn't make any difference. I've just been following examples and have to admit I don't fully understand all the requirements to add an item the Windows 11 modern context menu.

P.S. Yes, I know how to open the classic context menu on Windows 11 using Shift and how to make the registry change to set the classic menu as the default. I really want to find a relatively easy solution for adding a context menu item to the new menu without having to build it directly in C++.

LesFerch avatar Jan 27 '25 15:01 LesFerch