Carbon


SetCursor

Header: Quickdraw.h Carbon status: Supported

Sets the current cursor.

void SetCursor (
    const Cursor *crsr
);
Parameter descriptions
crsr

A Cursor structure for the cursor to be displayed.

DISCUSSION

If the cursor is hidden, it remains hidden and attains its new appearance only when it’s uncovered. If the cursor is already visible, it changes to the new appearance immediately.

You need to use the InitCursor function to initialize the standard arrow cursor and make it visible on the screen before you call SetCursor to change the cursor’s appearance.

To display a color cursor, use the SetCCursor function.

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)