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.
CarbonCocoa_PictureCursor
Last Revision: | Version 1.3, 2007-01-12 Added some alpha to the cursor |
Build Requirements: | Xcode 2.3 |
Runtime Requirements: | Mac OS X 10.4 |
This source demonstrates how to use NSCursor from a Carbon based application. We provide some wrapper functions CreateCocoaCursor, ReleaseCocoaCursor, and SetCocoaCursor to abstract the underlying Cocoa based NSCursor calls to manage the cursor. NSCursor provides support for large cursors, alpha, hot spots, and is 64-bit clean.
Copyright © 2007 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2007-01-12