Как заблокировать/разблокировать клавиатуру и мышь?
procedure
BlockInput(ABlockInput :
boolean
); stdcall; external
'USER32.DLL'
name
'BlockInput'
;
implementation
TForm1
.
Button1Click(Sender: TObject);
begin
BlockInput(
true
);
Sleep(
5000
false
end