Where to put code to create automaticly a box in a NSPanel
Where to put code to create automaticly a box in a NSPanel
- Subject: Where to put code to create automaticly a box in a NSPanel
- From: jean-michel daix <email@hidden>
- Date: Tue, 21 Jan 2003 15:54:15 +0100
Sorry for the question but I can not find answers in the documentations and
list archives.
I've got a lot of NSPanel in a nib file ( some are display at startup, some
are not ) and I want to add a NSBox to each of it. ( addSubview:myBox )
Where should I put my code (addSubview) to be sure that a box will be
created in every NSPanel ?
I try to do it in my own NSPanel class in initWithContentRect but it doesn't
work.
Should I create a NSWindowController to do that ?
Thanks for the help.
-----------------------------------
Jean-Michel DAIX / <email@hidden>
Sorry, I9m French !
visit <
http://www.adforum.com>
_______________________________________________
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.