Sorry, My error - I thought you were looking for a way to just have a window with an empty title bar (I thought the resizing capability you mentioned was in the title bar). I hadn't realized you wanted a window completely without a bar at all ...
vinai --- On Thu, 6/4/09, John Ku <john.c...@gmail.com> wrote: > From: John Ku <john.c...@gmail.com> > Subject: Re: No Title Bar on NSPanel > To: "vinai" <for_use...@yahoo.com> > Cc: cocoa-dev@lists.apple.com > Date: Thursday, June 4, 2009, 9:19 PM > Yeah, the bar is still there but > without a title. > john > > On Thu, Jun 4, 2009 at 7:11 PM, > vinai <for_use...@yahoo.com> > wrote: > > > > > If you force your panel's "setTitle" method > to an empty NSString, does that get you a panel with a bar > without a title ? > > > > vinai > > > > --- On Thu, 6/4/09, John Ku <john.c...@gmail.com> > wrote: > > > > > From: John Ku <john.c...@gmail.com> > > > Subject: Re: No Title Bar on NSPanel > > > To: "Gregory Weston" <gwes...@mac.com> > > > Cc: cocoa-dev@lists.apple.com > > > Date: Thursday, June 4, 2009, 8:57 PM > > > Im going for a window > that attaches > > > to a menu bar item. Im going for > > > something like Cover Sutra's pop up Window: > > > http://sophiestication.s3.amazonaws.com/images/coversutra/screenshot1.png > > > > > > Cover sutra's isn't resizable by the user, but > the program > > > resizes itself depending on the search result. > > > > > > > > > > > > On Thu, Jun 4, 2009 at 6:40 PM, Gregory Weston <gwes...@mac.com> > > > wrote: > > > > > > > John Ku wrote: > > > > > > > > Hello all! Is there a way to subclass NSPanel > > > and turn off the title bar > > > >> on > > > >> it? I've check NSPanel and NSWindow. The > only > > > thing I found was > > > >> setShowsToolbarButton in the 'Managing > Title Bars' > > > section which is not > > > >> it. > > > >> Im doing this for a pop up menu of a menu > bar > > > application. I want to see > > > >> if > > > >> I can utilize NSPanel and its capabilities > before > > > I go create a custom > > > >> NSWindow from scratch. I really just need > the > > > simple looking NSPanel with > > > >> drop shadows, resizing, etc.. > > > >> > > > > > > > > Resizing? > > > > > > > > A resizable window without a title bar is pretty > well > > > outside the standard > > > > Mac OS X (or traditional Mac OS) user experience. > What > > > are you actually > > > > trying to present for which is this your > solution? > > > > > > > > G > > > > _______________________________________________ > > > > > > > > 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/john.cmyk%40gmail.com > > > > > > > > This email sent to john.c...@gmail.com > > > > > > > _______________________________________________ > > > > > > 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/for_usenet%40yahoo.com > > > > > > This email sent to for_use...@yahoo.com > > > > > > > > > > > _______________________________________________ > > > > 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/john.cmyk%40gmail.com > > > > This email sent to john.c...@gmail.com > > > > _______________________________________________ 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 arch...@mail-archive.com