XLL+ Class Library (6.3)

CXlMacros::DisableInput

Blocks all input from the keyboard and mouse to Microsoft Excel

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