• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cursor duplication problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Cursor duplication problem (From: Filipe Varela <email@hidden>)
 >Re: Cursor duplication problem (From: Uli Kusterer <email@hidden>)
 >Re: Cursor duplication problem (From: Filipe Varela <email@hidden>)

  • Prev by Date: Re: Re: System preferences panes on Leopard
  • Next by Date: Re: Force NSOpenPanel's -panel:shouldShowFilename: to get called again?
  • Previous by thread: Re: Cursor duplication problem
  • Next by thread: Re: Cursor duplication problem
  • Index(es):
    • Date
    • Thread