Re: Bring all to front not working?
Re: Bring all to front not working?
- Subject: Re: Bring all to front not working?
- From: Jim Hamilton <email@hidden>
- Date: Thu, 7 Apr 2005 17:20:05 -0400
On Apr 7, 2005, at 5:00 PM, Mark Dawson wrote:
In 10.3.8 (haven't tested in other OS versions), my app's, "Bring All To Front" isn't working--it's bringing only the frontmost window forward from the Dock. Also, clicking on the app's icon in the Dock has the same (wrong) behavior. If I minimize two document windows, then click on the app, only one of the windows comes off the Dock…
According to the documentation (http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/Concepts/ChangingMainKeyWindow.html):
"Users can bring all windows of an application forward by clicking its icon in the Dock or by choosing Bring All to Front in the application’s Window menu. These actions should bring forward all of the application’s open windows, maintaining their onscreen location, size, and layering order within the application."
What do I need to do to get this behavior working in my app? It seems all done by Cocoa…
Thanks!
I think you may be reading too much into the documentation. in that quote about "open" windows, "open" seems to be a synonym for "onscreen" (as used earlier in the document). A minimized window is "offscreen" (op cit.).
FWIW, TextEdit.app (Cocoa) and Finder (Carbon) have the same behavior you describe for your app. I think it's working correctly. <wink>
Jim H
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden