Important: The information in this document is obsolete and should not be used for new development.
Changing Color Cursors
This section describes how to create and display color cursors on the screen. It might be useful to display a color cursor when the user is drawing or typing in color. For example, the insertion point could appear in the color that is being used. Except for multicolored paintbrush cursors, the cursor shouldn't contain more than one color at once because it's hard for the eye to distinguish small areas of color.To display a color cursor, you load the cursor resource into memory using the
GetCCursor
function. Then you specify the cursor to display on the screen using theSetCCursor
procedure. Use theDisposeCCursor
procedure to release the memory used by the color cursor. Although you should never need to do so (because Color QuickDraw handles this), theAllocCursor
procedure reallocates cursor memory.
Subtopics
- GetCCursor
- SetCCursor
- DisposeCCursor
- AllocCursor