Disabling cut,copy,paste,rename and delete operation
-
hello, Is there way to disable Cut,Copy,Paste,Rename and Delete operation for a particular file with (.extension) in windows ... please Reply me ....
-
hello, Is there way to disable Cut,Copy,Paste,Rename and Delete operation for a particular file with (.extension) in windows ... please Reply me ....
-
ok how can i achieved this one
-
ok how can i achieved this one
-
hello, Is there way to disable Cut,Copy,Paste,Rename and Delete operation for a particular file with (.extension) in windows ... please Reply me ....
There's probably a way to do this with a hook to the filesystem; but is it really user-friendly to prevent normal operation on files. Windows File Monitoring System Using Windows API Hooking[^].
Nihil obstat
-
Copy, paste etc., are implemented in many different ways by application programs, and there is no common point at which you could disable them.
Use the best guess
It is not clear, hat do you want. Do you want to change behavior of all programs, running under Windows? It is rather problematic (and what would be the reason for it?). But, if you write you own code, you may change behavior of edit control for example- all of what you need is to replace its own WindowProc by your own one, which gulps some messages and calls old WindowProc for all others. It is a way to get a non-editable edit window. Use GetWindowLong() to get address of old WindowProc and SetWindowLong() to replace it with your own one.
-
It is not clear, hat do you want. Do you want to change behavior of all programs, running under Windows? It is rather problematic (and what would be the reason for it?). But, if you write you own code, you may change behavior of edit control for example- all of what you need is to replace its own WindowProc by your own one, which gulps some messages and calls old WindowProc for all others. It is a way to get a non-editable edit window. Use GetWindowLong() to get address of old WindowProc and SetWindowLong() to replace it with your own one.
-
hello, Is there way to disable Cut,Copy,Paste,Rename and Delete operation for a particular file with (.extension) in windows ... please Reply me ....
Is this of any help?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous