Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,all,
I was developing a context menu handle on windows OS. I have followed the website guide "The Complete Idiot's Guide to Writing Shell Extensions - Part I[^]", and now can show my own submenu item when right-click a shorcut file. Then I want to remove the other submenu items, such as "copy", "open", "zip" and so on. It seems that I can not achieve that by only implementing the context menu handler. May any body tell me how to do it? thx a lot.
Posted
Comments
Nelek 2-Sep-14 5:13am    
If it is related to the article, you can use the message board at the end of the article itself. That way the autor will get a notification about your request. It is a safer way to get him involved, he might not follow the QA section.
Kornfeld Eliyahu Peter 2-Sep-14 5:28am    
You can't. And if you stop thinking about it - it has a reason you can't!
Let imagine I sell you my little gem, that adds a new functionality - via context menu - to the desktop browser. This little gem at the same time removes any other entry from the context menu, so you can not run 7-Zip anymore from there, or send file to mail and so on...
Enjoy!!!
chiyun1 2-Sep-14 22:27pm    
Thank you for your reply. I'm not the first one of thinking about it, and some product has really implement it already. Maybe they did't use context menu handler, but the apperance is as what I had said, so I'm very interesting how they achieved it.

1 solution

What about message hooking or windows explorer BHO? Can they implement it ?
 
Share this answer
 

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