Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: How to create a custom cursor using Carbon ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a custom cursor using Carbon ?




On May 22, 2006, at 6:10 AM, Graeme Gill wrote:

After searching for some considerable time on developer.apple.com,
I'm unable to locate the Carbon API's for setting a custom
cursor for a window. Deprecated QuickDraw functions, and
Cocoa functions I've found, but not Carbon. Do they exist ?

There is no Carbon API for setting a cursor specifically for a window. The existing Carbon API only supports setting a cursor for an entire process. It's up to you to set the cursor appropriately as the mouse moves into and out of your window; this would usually be done using a mouse tracking region (HIViewNewTrackingArea) or a kEventMouseMoved or kEventWindowCursorChange Carbon event.


There is also currently no undeprecated Carbon API for creating a custom cursor. We plan to add Carbon API for this task in Leopard. Until then, we recommend using either the deprecated Quickdraw API, or NSCursor.

-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to create a custom cursor using Carbon ? (From: Graeme Gill <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.