a code to disable left and right click?

Messages
7
is there a code that can disable right and left clicks and can only be removed by a password? and every time you try to right or left click a small menu thing pops up asking for a password to re enable the left and right click again?
or how can i make a code like that?
 
to do this you'd have to create a ring 0 dll file that captured the hardware event that is on-left-click and on-right-click.

I don't know how to do that, but that starting point is better than nothing.
 
I have been on websites in the past where they didn't allow you to right click, but I don't know how to help you.
 
I dont know about c++ but the javascript one is pretty abundant, most people do it so others cannot save images from there site, you can even insert messages where they are given a certain amount of warnings to stop it before they get booted. Its better than nothing, but you could still dl the website and get it that way.
 
You can do it in javascript if you want to use it in websites. Although you cannot disable left click (for obvious reasons) and javascript is totally insecure.
 
if you have the GLUT (openGL) library you can define what the mouse buttons do.
 
Back
Top Bottom