NSWindow display?
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.