Re: NSWindow - makeKeyAndOrderFront problem
Re: NSWindow - makeKeyAndOrderFront problem
- Subject: Re: NSWindow - makeKeyAndOrderFront problem
- From: Andreas Mayer <email@hidden>
- Date: Sun, 28 Feb 2010 15:59:31 +0100
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 (email@hidden)
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:
This email sent to email@hidden