• 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: bringing all app windows to front
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bringing all app windows to front


  • Subject: Re: bringing all app windows to front
  • From: Peter Maurer <email@hidden>
  • Date: Fri, 18 Jun 2004 15:29:22 +0200

I notice my Cocoa apps don't automatically bring all their windows to
front when I switch to my app via LaunchBar (the Dock works fine). This
seems to be not a strict Cocoa/Carbon thing, as BBEdit displays the same
behavior while Safari does not.

I emailed Norbert about it, but he seems uninterested in "fixing" it.

So, what's the canonical way to bring all my Cocoa windows to front when
my app switches in? I suppose there's a delegate method to implement
(applicationDidBecomeActive: looks promising) but how do I tell all my
windows to "come to front" without effecting their ordering, all the
while taking things like document windows, alert panels and floating
windows into account?

Carbon can do that. Have a look at the discussion for SetFrontProcessWithOptions at <http://developer.apple.com/documentation/Carbon/Reference/ Process_Manager/prmref_main/function_group_3.html>

Cheers,

Peter.

__
http://www.petermaurer.de/butler
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >bringing all app windows to front (From: "Jonathan 'Wolf' Rentzsch" <email@hidden>)

  • Prev by Date: Re: low level webview/drawer crash, need help to find a fix
  • Next by Date: [OT] Re: Big Nerd Ranch Experience
  • Previous by thread: bringing all app windows to front
  • Next by thread: NSTextView text doesn't get spaced from right side?
  • Index(es):
    • Date
    • Thread