Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
NewCCursor
Last Revision: | Version 1.0, 2003-01-14 Shows how to create a black and white 'CURS' and a color 'crsr' cursor resource by hand. |
Build Requirements: | Carbon ColorQuickDraw |
Runtime Requirements: | Carbon ColorQuickDraw |
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
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14