Click here to Skip to main content
13,143,774 members (35,571 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I am working on a project which is highly secure. In the project i want to enable and

disable the various context menu items like (cut, copy, paste, delete) from the menu

in windows 7 using Mouse not the Keyboard.

Various Context menus can be:

1) Desktop Context Menu using mouse
2) File Context Menu using mouse
3) Folder Context Menu using mouse
4) Windows Explorer Root Window Context Menu using mouse
5) Windows Explorer Window Context Menu using mouse

Any idea regarding how to enable and disable the items of context menu of windows 7

using mouse.

Thank you in Advance.
Posted 7-Nov-12 21:38pm
Kumar 091.2K
Updated 8-Nov-12 17:34pm
Jochen Arndt 8-Nov-12 4:50am
You can't disable context menu items of all other applications. Your approach is wrong. You probably want to prevent the user from doing specific operations. So, for what kind of data should the operations be disabled (file, clipboard, Drag & Drop)? Knowing this, there might be solutions.

Similar questions has been asked in the past. Use the search option with 'disable copy delete'.
Andrew Cherednik 8-Nov-12 5:30am
See this:

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You would need a program running in your system that intercepts certain mouse clicks and keystrokes. Take a look at some of these links[^].

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170915.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100