Win_BlockInput

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_BlockInput

 

Description

 

Blocks keyboard and mouse input events from reaching applications.

 

Syntax

 

n = Win_BlockInput(fBlockIt)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

fBlockIt

Number

No

If this parameter is %TRUE, keyboard and mouse input events are blocked.

If this parameter is %FALSE, keyboard and mouse events are unblocked.

 

Remarks

 

Note that only the thread that blocked input can successfully unblock input.

 

Restrictions

 

See also

 

Examples