Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Add Custom Options when right-clicking a file

Hello i want to show options like "Add to Queue" or "Add to Playlist >" when user right clicks an .mp3 file.

Reference Image:
Reference Image

How can i do that with C# and winforms?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

What you’re describing is known as a "context menu". And you can’t do it directly in C#. It’s run from the Windows registry, which you can edit from C#, but you usually need to ask the user permission.

This should get you started:
C# adding context menu item to windows explorer for all file types

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading