Skip navigation.
 
mlRe: Cursor duplication problem
FROM : Uli Kusterer
DATE : Fri Jan 18 19:25:48 2008

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

Related mailsAuthorDate
mlCursor duplication problem Filipe Varela Jan 18, 18:23
mlRe: Cursor duplication problem Uli Kusterer Jan 18, 18:38
mlRe: Cursor duplication problem Filipe Varela Jan 18, 18:44
mlRe: Cursor duplication problem Filipe Varela Jan 18, 18:45
mlRe: Cursor duplication problem John Stiles Jan 18, 18:58
mlRe: Cursor duplication problem Uli Kusterer Jan 18, 19:25
mlRe: Cursor duplication problem Benjamin Stiglitz Jan 18, 20:09
mlRe: Cursor duplication problem Filipe Varela Jan 19, 12:41