Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!agate!e260-1d!labc-1aa From: labc-1aa@e260-1d.berkeley.edu (Bob Heiney) Newsgroups: comp.sys.next Subject: Re: Multiple instantiation of windows laid out with IB Message-ID: <1989Oct22.072907.20129@agate.berkeley.edu> Date: 22 Oct 89 07:29:07 GMT References: <130030@gore.com> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Reply-To: labc-1aa@e260-1d (Bob Heiney) Organization: University of California, Berkeley Lines: 35 One way of doing this is to have a separate nib file for the document window. A fairly detailed example of this is given in the Interface Builder chapter of the NeXT Technical Documentation set. An on-line copy of this chapter appears in /NextLibrary/Documentation/NeXT/SysRefMan/08_IntfBuilder.wn Basically, what you do is have an owner object for each document window in your application. Whenever a new document is desired, a new manager object is created; its factory method looks like this: @implementation MyManager + new { self = [super new]; [NXApp loadNibSection:"DocWindow.nib" owner:self]; return self; } // more stuff here @end I hope this does what you want, and is helpful to you. If you have any questions, feel free to ask. bob == Bob Heiney, labc-1aa@WEB.Berkeley.edu == == NeXT Student Advocate for U. C. Berkeley == == "And in the end, the love you take is equal to the love you make" == == -- The Beatles ==