I was wondernig if there is a way to disable mouse and keyboard entries temporarily. I have written a macro program that moves the mouse pointer using mouse_event and causes keypresses using keybd_event.
I would not like a person to come come along and insert extra mouse events and keystrokes while my macro is running, since it could cause errors in my macro executing.
Is there a way to prevent user interference?
Thanks for your help!