Not Recommended Documentclose button

Important: The information in this document is Not Recommended and should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon ColorQuickDraw

View Source Code:

Download Sample (“NewCCursor.zip”, 6.6K)
Download Sample (“NewCCursor.dmg”, 65.0K)



Description

This snippet shows how to create a black and white 'CURS' and a color 'crsr' cursor resource by hand. After creation SetCursor for 'CURS' or SetCCursor for 'crsr' is used to set the application cursor to the new resource. Requirements: ColorQuickDraw Keywords: Color Cursor, GetGWorldPixMap, LockPixels, DrawPicture, GetGWorld, rowBytes, SetCursor, DisposeGWorld

Document Revision History

Date Notes
2003-01-14Shows how to create a black and white 'CURS' and a color 'crsr' cursor resource by hand.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.