• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode's ability to take away the window focus form other applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Using Bindings with C++ objects (From: Rick Mann <email@hidden>)
 >Xcode's ability to take away the window focus form other applications (From: Vance <email@hidden>)
 >Re: Xcode's ability to take away the window focus form other applications (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Xcode's ability to take away the window focus form other applications
  • Next by Date: Custom view flashes when resizing frame
  • Previous by thread: Re: Xcode's ability to take away the window focus form other applications
  • Next by thread: MVCP (was Re: Using Bindings with C++ objects)
  • Index(es):
    • Date
    • Thread