How to lock all input devices (mouse, keyboard) ?
Hi, i got another one :)
How can i lock all input devices (mouse and keyboard) preventing
the user to do anything until the app unlocks them again ?
(First i tried to use the SetSysModalWindow - API function, but
it doesn't seem to work with Win98...)
thanks in advance :)
Watz
Re: How to lock all input devices (mouse, keyboard) ?
Presumably, you want to prevent users from clicking and typing on a form whilst some processing is going on. I'd suggest a simple
Me.Enabled = False
'Do your processing
Me.Enabled = True
would do the trick.