Hijacking NSCursor
Hijacking NSCursor
- Subject: Hijacking NSCursor
- From: Drew McCormack <email@hidden>
- Date: Mon, 24 Jul 2006 21:03:34 +0200
I'm working on an app that includes some screenshot functionality. It
all works as planned, except for one thing: when the user command-
tabs to another app, the cursor changes from the crosshair that I set
to the cursor of the newly active app. I can still get the
screenshot, but the cursor change annoys me.
I see that Preview manages to keep the crosshair when you switch the
active application, although it does seem to lose the crosshair if
you switch applications twice (say, to another app, and then back to
Preview). My question is: how does Preview keep the crosshair cursor
when the active application changes the first time?
Drew
---------------------------------------------------------
Drew McCormack
www.macanics.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden