Carbon


TXNTSMCheck

Header: MacTextEditor.h Carbon status: Supported

Checks to see if the Type Services Manager (TSM) is active.

Boolean TXNTSMCheck (
    TXNObject iTXNObject, 
    EventRecord *iEvent
);
Parameter descriptions
iTXNObject

A variable of type TXNObject or NULL. You can pass the text object that identifies the current document. Pass NULL when there is no active text object and you want to check for TSM activity.

iEvent

A pointer to an event record. This can be NULL.

function result

A Boolean value; true if TSM is active and false if TSM is not active.

DISCUSSION

The purpose of this function is to ensure input methods have enough time to respond. Call this when the WaitNextEvent function returns false or there is no active text object.

AVAILABILITY

Supported in Carbon. Not available in Carbon.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)