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

Win_BlockInput

Previous pageReturn to chapter overviewNext page

 

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