hello ppl,, im making a lan administrator program and im wondering if theres any API to manage the mouse and keyboard.... i have a program that need to be able to lock a computer... for example.. when the server send a message to a client... the keyboard and the mouse should be locked,, no matter if the client moves the mouse,, or if he press keyboard,,
I need to disable them,, and also if possible.. move the mouse to a specific location,,make clicks.. and with they keyboard... to be able to press keys..
i know i ask too much :P hehhee...
thx
mig16

Mouse and Keyborad API
GreggM
Windows gets input by messages sent to it. A global hook that captures all mouse and keyboard messages can choose to "cancel" them. That is to not send them on to the actual application it was meant for. For windows it will be like there are no keyboard or mouse events happening.
meterman
Nah, not asking too much.
I would probably have a look into adding a global hook for all keyboard and mouse messages. There is an article on code project.
http://www.codeproject.com/csharp/globalhook.asp
tirpitz3
Brian OByrne
thx
mig16
mconnag
thx
mig16