• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: No Title Bar on NSPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No Title Bar on NSPanel


  • Subject: Re: No Title Bar on NSPanel
  • From: vinai <email@hidden>
  • Date: Thu, 4 Jun 2009 19:11:04 -0700 (PDT)

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 <email@hidden> wrote:

> From: John Ku <email@hidden>
> Subject: Re: No Title Bar on NSPanel
> To: "Gregory Weston" <email@hidden>
> Cc: email@hidden
> 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 <email@hidden>
> 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 (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
> >
> _______________________________________________
>
> 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
>



_______________________________________________

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

  • Follow-Ups:
    • Re: No Title Bar on NSPanel
      • From: John Ku <email@hidden>
  • Prev by Date: Re: Validating a NSSegmentedControl in a toolbar
  • Next by Date: Re: No Title Bar on NSPanel
  • Previous by thread: Re: No Title Bar on NSPanel
  • Next by thread: Re: No Title Bar on NSPanel
  • Index(es):
    • Date
    • Thread