Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MenuItem "New"



I tried to use this method:

- (IBAction)loadNib:(id)sender
{
    [[NSNib alloc] initWithNibNamed:@"MainMenu.nib" bundle:nil];
}    

I get no error, but I cant reload the window when it is closed. I think when I close my nib file the nib is not released (I didnt checked this option in IB), so in fact I dont have to call this method written above. But how I can show the window again (after it is closed)?

Thanks
Ludwig

Am 03.09.2005 um 21:53 schrieb Ludwig Villiger:

When I close the window of my Cocoa-App I can not reopen it with the Menu "New". Is there a easy why to tell the Computer, that he should reopen the window?

Greetings!

Ludwig
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Student-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Student-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/student-dev/email@hidden

This email sent to email@hidden

References: 
 >MenuItem "New" (From: Ludwig Villiger <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.