Re: Xcode's ability to take away the window focus form other applications
Re: Xcode's ability to take away the window focus form other applications
- Subject: Re: Xcode's ability to take away the window focus form other applications
- From: Vance <email@hidden>
- Date: Sun, 23 Dec 2007 09:50:42 -0800
Cool! Thank you Mike. That works great, but one problem, [NSApp
deactivate] does not seem to work, after the focus is taken with [NSApp
activateIgnoringOtherApps:YES], when the window is closed calling [NSApp
deactivate] doesn't seem to restore the focus to the original
application that had the focus before it was taken away with
activateIgnoringOtherApps, and what happens is that the test app is
still active.
Thanks,
Vance
Mike Abdullah wrote:
Have a look at -[NSApplication activateIgnoringOtherApps:]
Mike.
On 23 Dec 2007, at 17:17, Vance wrote:
Hi,
When in debugging mode within Xcode, when a breakpoint occurs, Xcode
moves the focus/active window to Xcode again (no mater what
application was focused before, like for example TextPad had the
focus, while I was debugging something else, the focus is taken away
from TextPad and the Xcode debug window gets it). Does anyone know
how can I find out what Xcode does to achieve this?
Thank you
-Vance
_______________________________________________
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
_______________________________________________
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