• 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
Displaying multiple windows in one sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Displaying multiple windows in one sheet


  • Subject: Displaying multiple windows in one sheet
  • From: Sebastian Celis <email@hidden>
  • Date: Sun, 23 Feb 2003 18:29:08 -0600

Hello,

Here's what I would like to do:

I would like to have a button, that, when pressed, opens up a sheet whose contents are Window A. The sheet should not be associated with that one particular window. Inside Window A (in the sheet) there is a pop-up-button. After selecting something with the pop-up-button, the user can hit "OK". This will cause the sheet to instead display Window B or Window C or etc, depending upon the value of the pop-up-button.

Can anyone help me out? I am having trouble thinking about NIB files, references to NSWindow, etc. I've done some reading on it, but haven't found anything that has made the entire subject "click" for me.

So, I have two requests:

1) Help with my specific problem above (sample code would be greatly appreciated, from loading the NIB files to displaying the sheet to changing the window displayed in the sheet.)

2) Information/Code/Help regarding heavy referencing to NSWindows, NSWindowControllers, NIB files, etc. This can be either through a web site or a book.


Many thanks,

Sebastian
_______________________________________________
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.

  • Follow-Ups:
    • Re: Displaying multiple windows in one sheet
      • From: Sebastian Celis <email@hidden>
  • Prev by Date: Subclassing NSDocumentController
  • Next by Date: returning char* from an obj-c method
  • Previous by thread: Subclassing NSDocumentController
  • Next by thread: Re: Displaying multiple windows in one sheet
  • Index(es):
    • Date
    • Thread