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 PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to