Am 28.02.2010 um 15:46 Uhr schrieb Alexander Bokovikov:
I drop a file into my app's window. And the question is how to
"switch the global system focus" to my app?
Hm. You don't?
Just dragging should not switch the focus to another application.
Of course you *can* steal the focus using NSApplication's -
activateIgnoringOtherApps:
Or you could place your window in front without making it key, using -
orderFrontRegardless. But I don't see how that would be useful.
Andreas
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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/archive%40mail-archive.com
This email sent to arch...@mail-archive.com