![]() |
TextServiceEvent |
||||
Header: | TextServices.h | Carbon status: | Unsupported | |
Routes an event to a specified text service component.
ComponentResult TextServiceEvent ( ComponentInstance ts, SInt16 numOfEvents, EventRecord *event );
A component instance created by a prior call to the Component Manager OpenComponent function.
The number of events being passed.
A pointer to the Event Manager event structure (defined by the EventRecord data type) for the event being passed.
If the text service component handles the event, it should return a nonzero value for componentResult and it should change the event to a null event. If it does not handle the event, it should return 0.
If you are writing a text service component, it must implement a function for this call.
Client applications also may make this call, but the Text Services Manager does not play a role in the connection between the client application making the call and the text service component receiving it. If you are an application making this call, you need to know the component instance of the component whose function you are calling.
Not supported in Carbon. Not available in Carbon.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)