PDA

Click to See Complete Forum and Search --> : HOW TO DISABLE THE MOUSE?


Idiot2VB
Jan 15th, 2000, 12:54 AM
Hello,
Is there a way how i could disable the mouse? I want the user to be able to move the mouse meaning be able to move the mouse pointer, but i want the buttons on the mouse to be disabled. Meaning they can't press it or anything like that. Is there anyway how i can do this? If u can provide, please provide source code? I'd really appreciate that. I can program, but not too well, so please.

Thank You.

death
Jan 15th, 2000, 01:07 AM
You could make it so that when the user clicks either button your program brings up a message box
that is the only think that I can think of sorry

sodhichd
Jan 15th, 2000, 06:21 PM
Why don't you call a procedure at the click event which does nothing.

Manjinder Sodhi

------------------

ravcam
Jan 16th, 2000, 03:40 AM
I had a recent experience working with an ole control. I found that by setting the enabled property to false it took care of my problem. Try that, it may or maynot be what you need.