Mailing Lists: Apple Mailing Lists

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

How to create a custom cursor using Carbon ?



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 ?

Unfortunately the cursor I'm after isn't available as
one of the standard themed cursor (I need an invisible
cursor for my window, so it can't block the window
contents). I was unable to locate a Window attribute
that would place the window over the cursor.

CGDisplayHideCursor() does hide the cursor for the whole
screen, but it comes back again if you click with the
mouse etc., and it's awkward being without a cursor for
other windows.

What I'm after is the Carbon equivalent of
X11's XCreatePixmapCursor(), or Win32's
SetClassLong(..GCL_HCURSOR..).

Anyone got some pointers ?

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


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.