• 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
NSWindow display?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindow display?


  • Subject: NSWindow display?
  • From: "David Piasecki" <email@hidden>
  • Date: Mon, 19 Apr 2004 11:26:02 -0700

This has got to be a dumb question, but how do you display a new NSWindow in Cocoa? I created a new NSWindow in IB, I created an outlet for the window in my main window's controller class, and I created an action to open the new window when I click on a button. I tried the following...

[newWindow display]
[newWindow setNeedsDisplay:true]
[newWindow showWindow]
[newWindow makeKeyAndOrderFront]

But none of that seems to work. This is obviously really basic. I'm just missing something and can't seem to find it in the documentation.

David
_______________________________________________
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: NSWindow display?
      • From: Jeremy Dronfield <email@hidden>
    • Re: NSWindow display?
      • From: Andreas Mayer <email@hidden>
    • Re: NSWindow display?
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Strange behaviour of text insertion in NSTextView
  • Next by Date: Re: Best place to hide license files
  • Previous by thread: Re: why is quartz still interpolating ??
  • Next by thread: Re: NSWindow display?
  • Index(es):
    • Date
    • Thread