Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a custom cursor using Carbon ?



Eric Schlegel wrote:
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.

Thanks for the suggestions.

As far as I can tell, NSCursor is Cocoa, so no good for my C only code,
and I tried QD, but it doesn't really work. Yes the cursor initially
disappears (from the whole screen, which is not what I want), but if
the user then clicks the mouse, it comes back again. Given this,
I'm not sure if there's any point in trying to implement the trickier
business of tracking the cursor, and changing it when it's over
my window using QD. It's into diminishing returns for me at this point.

There are enough headaches in trying to figure out how to use
IOI2CSendRequest to keep me busy. A higher level interface for controlling
the monitor settings would be a good thing too, but I shouldn't complain
too much, at least there is an interface (unlike win32!), and at least
it's associated with the display (unlike Linux!).

I do hope the new Carbon API is a little smarter, and allows setting
cursors as a window attribute ...

Graeme Gill.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

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



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.