Re: Cursor duplication problem
Re: Cursor duplication problem
- Subject: Re: Cursor duplication problem
- From: Uli Kusterer <email@hidden>
- Date: Fri, 18 Jan 2008 19:25:48 +0100
On 18.01.2008, at 18:44, Filipe Varela wrote:
My app does not set cursors.
Then it gets the default, the arrow cursor.
If, however, what you say is what actually happens,
Are you calling me a liar? ;-)
then the docs are misleading as they clearly state that
currentCursor returns "The cursor currently displayed on the screen."
Yes, slightly misleading. As a guideline, it helps to think that
everything a Mac application does is local to itself, and for security
and stability issues, it doesn't have access to data from other
applications. Only a few special APIs (like distributed objects, Apple
Events and the low-level CGWindow stuff) have access to other apps'
data. In particular, AppKit is mostly agnostic of happenings in other
apps. The window list will only give you windows in your apps, etc.
Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden