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
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 mails | Author | Date |
|---|---|---|
| Filipe Varela | Jan 18, 18:23 | |
| Uli Kusterer | Jan 18, 18:38 | |
| Filipe Varela | Jan 18, 18:44 | |
| Filipe Varela | Jan 18, 18:45 | |
| John Stiles | Jan 18, 18:58 | |
| Uli Kusterer | Jan 18, 19:25 | |
| Benjamin Stiglitz | Jan 18, 20:09 | |
| Filipe Varela | Jan 19, 12:41 |






Cocoa mail archive

