Carbon


LMSetKeyThresh

Header: LowMem.h Carbon status: Supported

Sets the auto-key threshold.

void LMSetKeyThresh (
    SInt16 value
);
Parameter descriptions
value

A signed 16-bit integer that specifies the low-memory auto-key threshold.

DISCUSSION

LMSetKeyThresh specifies a signed 16-bit integer that sets the low-memory auto-key threshold, that is, the amount of time, in ticks, that must elapse before the Event Manager generates an auto-key event.

The value set by LMSetKeyThresh is also accessible in the system global variable KeyRepThresh.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/26/2000)