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 ?



I was experiencing the same problem. I found out that Cocoa cursors will
only show up (in a Carbon app) after having created a Cocoa window.

The following code (called once at startup) will do the trick:

    [[[NSWindow alloc] init] release];


James W. Walker wrote:

> Eric Schlegel <email@hidden> wrote:

> > On May 22, 2006, at 9:22 AM, James W. Walker wrote:
> > > I once tried using NSCursor in a Carbon app, but was unable to get
it to work. I ended up faking a cursor using a little overlay window.

> > Interesting. Do you remember what problems you ran into?

> I'm not sure, but I think I just completely failed to get the cursor to
show up.


 _______________________________________________
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



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.