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: Imaging With QuickDraw /
Chapter 8 - Cursor Utilities / Cursor Utilities Reference
Routines / Initializing Cursors


InitCursor

You use the InitCursor procedure to set the current cursor to the standard arrow and make it visible.

PROCEDURE InitCursor;
DESCRIPTION
The InitCursor procedure sets the current cursor to the standard arrow and sets the cursor level to 0, making the cursor visible. (A value of -1 makes the cursor invisible.) The cursor level keeps track of the number of times the cursor has been hidden to compensate for nested calls to the HideCursor and ShowCursor procedures.

SEE ALSO
For a description of the HideCursor procedure, see page 8-26. For a description of the ShowCursor procedure, see page 8-28. Listing 8-1 on page 8-6 illustrates how to use the InitCursor procedure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996