Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
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
GetCCursorfunction. Then you specify the cursor to display on the screen using theSetCCursorprocedure. Use theDisposeCCursorprocedure to release the memory used by the color cursor. Although you should never need to do so (because Color QuickDraw handles this), theAllocCursorprocedure reallocates cursor memory.
Subtopics
- GetCCursor
- SetCCursor
- DisposeCCursor
- AllocCursor
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |