XLL+ Class Library

CXlMacros::DisableInput

Blocks all input from the keyboard and mouse to Microsoft Excel

[C++]
static int DisableInput(
   bool logical = 1
);

Parameters

logical

Logical is a logical value specifying whether input is currently disabled. If logical is TRUE, input is disabled; if FALSE, input is reenabled.

Return value

Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods