Re: Windows
Re: Windows
- Subject: Re: Windows
- From: John MacMullin <email@hidden>
- Date: Fri, 12 Sep 2008 15:55:54 -0700
Ok, thanks.
However, as it stands nothing is being added to the Window menu.
The following code also fails.
IBOutlet NSWindow *testWindowOutlet;
This code is in the awakeFromNib
[testWindowOutlet setTitle:[[NSBundle mainBundle]
localizedStringForKey:@"Test Stuff" value:nil table:nil]];
[NSApp addWindowsItem:testWindowOutlet title:[testWindowOutlet title]
filename:(BOOL)NO];
[testWindowOutlet setExcludedFromWindowsMenu:(BOOL)NO];
After the nib is loaded, I do a makekeyandorderfront on the window,
which appears with the 'Test Stuff' title, but the window does not
appear in the Window menu. As to the NIB, the visible at launch is
not checked.
Any further suggestions would be greatly appreciated.
John
On Sep 12, 2008, at 3:13 PM, Charles Steinman wrote:
--- On Fri, 9/12/08, John MacMullin <email@hidden> wrote:
Does the standard Windows menu manage and show all
application
windows? If so, under what conditions do windows not get
listed in
the pull down?
From the horse's mouth:
http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/Tasks/UsingWindowsMenu.html#/
/apple_ref/doc/uid/20000231-BCIBJBDA
Cheers,
Chuck
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Re: Windows (From: Charles Steinman <email@hidden>) |