(no subject)
(no subject)
- Subject: (no subject)
- From: Kristin Webster <email@hidden>
- Date: Mon, 12 Aug 2002 10:46:45 -0700
Hi Tim,
You should be able to get the window to show up in the Window menu by
overriding NSWindow's -canBecomeMainWindow to return YES. Note that
this will also cause your window to be eligible to be the main window,
which is hopefully what you want. There probably should be an easier
way to do this.
Kristin
From: Tim Trautmann <email@hidden>
Date: Mon Aug 12, 2002 10:02:04 AM US/Pacific
To: <email@hidden>
Subject: NSBorderlessWindowMask'ed windows and the Window Menu
Hello All,
this has been discussed a few months ago but I think a solution was
never presented. Now I am facing the same problem so I am trying again.
I have an application whose windows' NSBorderlessWindowMask is
set. As a
result of setting this mask one looses the feature that lists these
windows
in the Window menu.
However I really do want these windows to be listed in the Window
menu.
The windows' titles are set. Overriding NSWindow's isKeyWindow,
isMainWindow, isExcludedFromWindowsMenu does not alter this behavior.
Any ideas?
Tim
_______________________________________________
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.