Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ VC++
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
Edited 8-Nov-12 17:34pm
Jochen Arndt at 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 at 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
0 Sergey Alexandrovich Kryukov 503
1 George Jonsson 311
2 CPallini 290
3 OriginalGriff 139
4 Prasad Khandekar 135
0 OriginalGriff 4,623
1 CPallini 3,410
2 Sergey Alexandrovich Kryukov 2,929
3 George Jonsson 2,319
4 Gihan Liyanage 2,077

Advertise | Privacy | Mobile
Web02 | 2.8.140905.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2014
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