• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Where to put code to create automaticly a box in a NSPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Capturing every keypress in an NSTextView
  • Next by Date: Re: Changing editing behaviour of NSTableView
  • Previous by thread: Re: Capturing every keypress in an NSTextView
  • Next by thread: Printing a selection (newbie)
  • Index(es):
    • Date
    • Thread