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

Re: Displaying multiple windows in one sheet


  • Subject: Re: Displaying multiple windows in one sheet
  • From: Sebastian Celis <email@hidden>
  • Date: Fri, 28 Feb 2003 14:55:06 -0600

For my purposes, this wouldn't be very efficient. There are going to be a lot of possible displays within the sheet, and loading all of them at the same time is something I'd like to avoid. Many of the displays will never be used, so I'd also only like to load those that the user will need. I was thinking I could sent the sheet a blank window and then maybe just change it's contents with NSWindow's setContentView: method. I'm just having trouble sending a blank window to the beginSheet: method, changing the contents of the sheet, and passing data from one possible contents of the sheet to another.

Sebastian


On Friday, February 28, 2003, at 02:31 PM, Thomas Harrington wrote:

On Friday, February 28, 2003, at 12:27 PM, Sebastian Celis wrote:

Sorry for both the newbie-ish question as well as for asking the same question again, but does anyone know how to do this? I think if I can get my head wrapped around the OS X GUI programming concepts a little more, everything would be so much easier for me. What I am trying to do seems to embody a lot, and I think that if I could get some help understanding how to do it, I would be all set.

If I understand your description correctly, you might want to consider putting an NSTabView in the sheet, with the tabs hidden. Each view in the NSTabView would have its own contents, and you could set up a pop-up menu or something to control switching between them.


--
Tom Harrington
email@hidden
_______________________________________________
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: Chris Giordano <email@hidden>
References: 
 >Re: Displaying multiple windows in one sheet (From: Thomas Harrington <email@hidden>)

  • Prev by Date: Re: Gripe: Text system links
  • Next by Date: [Newbie] writing plain text to a file
  • Previous by thread: Re: Displaying multiple windows in one sheet
  • Next by thread: Re: Displaying multiple windows in one sheet
  • Index(es):
    • Date
    • Thread