Group: Keyboard Input - Library: user32
Disabling mouse and keyboard input for the main VFP window (with the app still running)
Splash Screen for the VFP application
BOOL BlockInput(
BOOL fBlockIt // block option
);
DECLARE INTEGER BlockInput IN user32 INTEGER fBlockIt
fBlockIt [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.
If the function succeeds, the return value is nonzero.
Note that only the thread that blocked the input can successfully unblock it.