Re: Getting a borderless window in the Window menu?
Re: Getting a borderless window in the Window menu?
- Subject: Re: Getting a borderless window in the Window menu?
- From: Jens Alfke <email@hidden>
- Date: Wed, 12 May 2010 19:52:56 -0700
On May 12, 2010, at 7:01 PM, Izak van Langevelde wrote:
> I'm implementing my own window style by adding my own border to a borderless window, and just found out that borderless windows don't show up in the Windows menu of a document-based application. Is there a workaround available?
I believe you just set
window.excludedFromWindowsMenu = NO;
(Pro tip: Searching NSWindow.h for the string “menu” turns up this property pretty easily.)
—JEns_______________________________________________
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