Carbon


SetTextServiceCursor

Header: TextServices.h Carbon status: Unsupported

Lets the text service component control the shape of the cursor.

ComponentResult SetTextServiceCursor (
    ComponentInstance ts, 
    Point mousePos
);
Parameter descriptions
ts

A component instance created by a prior call to the Component Manager OpenComponent function.

mousePos

A location (specified as a QuickDraw point) that specifies the global coordinates for the vertical and horizontal position of the mouse.

function result

The text service component must return a nonzero value for ComponentResult if it has set the cursor, and 0 if it has not.

DISCUSSION

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.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.


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