Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!Teknowledge.COM!polya!ali From: ali@polya.Stanford.EDU (Ali T. Ozer) Newsgroups: comp.sys.next Subject: Re: Dissasociating a Window from an Application Message-ID: <12935@polya.Stanford.EDU> Date: 6 Dec 89 02:15:42 GMT References: <130039@gore.com> Organization: . Lines: 37 In article <130039@gore.com> jacob@gore.com (Jacob Gore) writes: >Is there a way to dissasociate a Window from the application that created >it? I don't want this window to hide when the application hides, or the >application to unhide when the window is clicked on. I hope you have a good reason to want to do this, Jacob... That behaviour isn't consistent with the UI guidelines --- "When an application is hidden, only its freestanding or docked icon remains on-screen." Anyway, as you can gather, there's no official way. However, anything's possible... What seems to work in this case is to have the Application's appDidHide: delegate method send an orderFront: message to the window you want to remain unhidden. One line of code! The window remains behind (actually goes away and comes back), along with the app icon. When you click on the window, the menu for the application also appears. However everything else remains hidden unless you explicitly start making windows come to front through menu commands. Ali > >Jacob >-- >Jacob Gore Jacob@Gore.Com boulder!gore!jacob