Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 7 - Text Services Manager / Text Services Manager Reference
Text Service Component Routines / Responding to Events and Updating the Cursor and Menu


SetTextServiceCursor

The SetTextServiceCursor function lets the text service component control the shape of the cursor.

FUNCTION SetTextServiceCursor (ts: ComponentInstance; 
                               mousePos: Point): ComponentResult;
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.
DESCRIPTION
The text service component must return a nonzero value for ComponentResult if it has set the cursor, and 0 if it has not.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996