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 / Changing Color Cursors


SetCCursor

You use the SetCCursor procedure to specify a color cursor for display on the screen.

PROCEDURE  SetCCursor (cCrsr: CCrsrHandle); 
cCrsr
A handle to the color cursor to be displayed.
DESCRIPTION
The SetCCursor procedure allows your application to set a color cursor for display on the screen. At the time the cursor is set, it's expanded to the current screen depth so that it can be drawn rapidly. You must call GetCCursor before you call SetCCursor; however, you can make several subsequent calls to SetCCursor once GetCCursor creates the CCrsr record.

If your application has changed the cursor's data or its color table, it must also invalidate the crsrXValid and crsrID fields of the CCrsr record before calling SetCCursor.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996