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)
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)
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
there are several "mouse/keyboard input messages", think you'll find also those for the x/y-Position...
greetings
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
You can probably disable the keyboard/mouse by using the SetWindowsHookEx function with the first parameter equal to WH_KEYBOARD/WH_MOUSE.