Re: bringing all app windows to front
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.