Page 1 of 1

How do you display explorer native context menu

Posted: Tue Oct 17, 2017 8:12 pm
by jams
Hi David,

I'm building an application in C#/WPF that handle files and folders (that rely on Everything SDK) and I'd like to display windows explorer native context menu like you do in Everything interface. Would you point me on an API or library I could use to display this menu?

Thanks,
Julien.

Re: How do you display explorer native context menu

Posted: Wed Oct 18, 2017 9:18 pm
by jams
Replying to myself, I found a very simple library that works fine for me (even if I need to embed Windows.Forms control into my WPF application.
https://github.com/grokys/gong-shell

Re: How do you display explorer native context menu

Posted: Sat Oct 21, 2017 4:43 am
by void
Everything uses CDefFolderMenu_Create2.

https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
http://www.zabkat.com/blog/08Jul07.htm

You may also like to start with IContextMenu which Everything uses when all items share the same parent folder.

Re: How do you display explorer native context menu

Posted: Sat Oct 21, 2017 4:06 pm
by NotNull
Explorer++, an alternative for the Explorer file manager, is open source. It is written in C++ (IIRC). I'm no programmer, but maybe you can re-use that code for your project.

(https://explorerplusplus.com/)