1.Please can anyone tell me which API can be used to Disable Or Enable Mouse Clicks.
2.Please can anyone tell me which API can be used to Disable Or Enable Keyboard
3.Which Api Set the Mouse Position to Specific Co-Ordinates( x and y)
Posted on 2003-04-08 04:51:21 by telophase
try a look at the windows reference for answers...
there are several "mouse/keyboard input messages", think you'll find also those for the x/y-Position...
greetings

TurASM
Posted on 2003-04-08 05:21:33 by TurAsm

1.Please can anyone tell me which API can be used to Disable Or Enable Mouse Clicks.
2.Please can anyone tell me which API can be used to Disable Or Enable Keyboard


If you mean disable keyboard and mouse in your app, then simply don't process the input.
If you mean disable keyboard and mouse for the whole system, then I doubt there's any single API to do it. Not to mention that doing so would be very user-unfriendly. ;)



3.Which Api Set the Mouse Position to Specific Co-Ordinates( x and y)


SetCursorPos
Posted on 2003-04-08 05:34:56 by iblis
You can probably disable the keyboard/mouse by using the SetWindowsHookEx function with the first parameter equal to WH_KEYBOARD/WH_MOUSE.
Posted on 2003-04-10 10:34:30 by Knightmare