Hello, is it possible to disable input for 1 second using this API:
I want an example. Disable input for 1 second and then enable it again. Thanks. I hope it is possible. :looky:
Code:
Private Declare Function BlockInput Lib "user32" (ByVal fBlock As Long) As Long
--
The BlockInput function blocks keyboard and mouse input events from reaching applications.
---
· fBlock
[in] Specifies the function's purpose. If this parameter is TRUE, keyboard and mouse input events are blocked. If this parameter is FALSE, keyboard and mouse events are unblocked. Note that only the thread that blocked input can successfully unblock input.
I want an example. Disable input for 1 second and then enable it again. Thanks. I hope it is possible. :looky: