Click here to Skip to main content
15,742,655 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In Windows Explorer or other windows application, if you right click in an input box, a default context menu shows up which contains built-in items like 'copy', 'paste' etc. My question are:

Can we add a new item into the default context menu with a custom name.
If we add a new item, can we trigger serial actions when we clicked the new item
If we can do these, C# or C++ or C solution will be much appreciated.
Thank you in advance!

illustration like below:

What I have tried:

I have tried the shell extension solution, but it doesn't work.
Updated 15-Aug-18 22:51pm
Richard MacCutchan 16-Aug-18 7:47am    
Shell extensions is the way to do it. If your code does not work then edit your question and provide proper details.
Afzaal Ahmad Zeeshan 16-Aug-18 8:31am    
C#, C++ and C are entirely different things. :-) Just telling.

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