FROM : John Stiles
DATE : Fri Jan 18 18:58:20 2008
File a documentation bug. You're right, it's not clear.
Filipe Varela wrote:
> My app does not set cursors. If, however, what you say is what
> actually happens, then the docs are misleading as they clearly state
> that currentCursor returns "The cursor currently displayed on the
> screen."
>
> Cheers,
>
> Filipe
>
> On 2008/01/18, at 17:38, Uli Kusterer wrote:
>
>> On 18.01.2008, at 18:23, Filipe Varela wrote:
>>> There is one other issue with [NSCursor currentCursor]. Apparently
>>> it always returns arrowCursor. This too is a known problem and i was
>>> wondering if a workaround has been discovered.
>>
>>
>> Are you trying to get a cursor set in your app? Because every app has
>> its own cursor, so if you query +currentCursor expecting to get the
>> current cursor in another app, you'll get whatever cursor was last
>> set in *your* app, which, by default, would be the arrow.
>>
>> Cheers,
>> -- M. Uli Kusterer
>> "The Witnesses of TeachText are everywhere..."
>> http://www.zathras.de
>>
>>
>>
>>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Fri Jan 18 18:58:20 2008
File a documentation bug. You're right, it's not clear.
Filipe Varela wrote:
> My app does not set cursors. If, however, what you say is what
> actually happens, then the docs are misleading as they clearly state
> that currentCursor returns "The cursor currently displayed on the
> screen."
>
> Cheers,
>
> Filipe
>
> On 2008/01/18, at 17:38, Uli Kusterer wrote:
>
>> On 18.01.2008, at 18:23, Filipe Varela wrote:
>>> There is one other issue with [NSCursor currentCursor]. Apparently
>>> it always returns arrowCursor. This too is a known problem and i was
>>> wondering if a workaround has been discovered.
>>
>>
>> Are you trying to get a cursor set in your app? Because every app has
>> its own cursor, so if you query +currentCursor expecting to get the
>> current cursor in another app, you'll get whatever cursor was last
>> set in *your* app, which, by default, would be the arrow.
>>
>> Cheers,
>> -- M. Uli Kusterer
>> "The Witnesses of TeachText are everywhere..."
>> http://www.zathras.de
>>
>>
>>
>>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| 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

