Re: How to make a NSPanel show up in Windows menu?
Re: How to make a NSPanel show up in Windows menu?
- Subject: Re: How to make a NSPanel show up in Windows menu?
- From: Matt Neuburg <email@hidden>
- Date: Sun, 25 Aug 2002 19:31:20 -0700
On Sat, 24 Aug 2002 16:05:52 -0700, Dustin Voss <email@hidden> said:
>
>> Pretty much like the subject says. I've got an NSPanel (a Find
>
>> panel), and
>
>> I'd like it, and most other modeless panel I'm anticipating, to show
>
>> up in
>
>> the Windows menu.
>
>
>
> Override it again? Haven't tried this but it's the first thing I'd do.
>
> m.
>
>
Well, I just tried a custom sub-class of NSPanel that always returns NO
>
for isExcludedFromWindowsMenu. The method isn't even called
Sorry - I never post without testing unless I tell you explicitly I'm doing
so, and I did tell you so. :-(
Okay, my second approach would be to ask myself what I'm gaining by having
this be an NSPanel. Why not just make it an NSWindow? m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.