Carbon


SetCCursor

Header: Quickdraw.h Carbon status: Supported

Specifies a color cursor for display on the screen.

void SetCCursor (
    CCrsrHandle cCrsr
);
Parameter descriptions
cCrsr

A handle to the color cursor to be displayed.

DISCUSSION

At the time the cursor is set, it is 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 structure.

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 structure before calling SetCCursor.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


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