Re: disable keyboard mouse
- Posted by pampeano at rocketmail.com Mar 02, 2003
- 476 views
Hi Tone, I assume that your program is sending the events to a program that wasn't made by you. So one way to disable keyboard and mouse events would be to hook the keyboard and mouse events. You can achive this with the setWindowsHookEx function (read the Windows documentation for more information about this). Best Regards, Guillermo Bonvehi PS: I have a experimental keyboard hook made on euphoria (it still has some bugs on it). If you want it let me know. --- tone.skoda at gmx.net wrote: > > Is it possible to disable mouse and keyboard for user for a while? > I want to do this while my program is sending keyboard and mouse > commands > with sendkeys.ew and sendmouse.ew. If user will use keyboard or mouse > in > this time it won't execute right.