• 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: NSBox with a NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBox with a NSPopUpButton


  • Subject: Re: NSBox with a NSPopUpButton
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 23 Jul 2010 19:39:03 -0400

Eric Gorr (email@hidden) on 2010-07-23 14:20 said:

>So, what is the best method to create a NSBox with a NSPopUpButton?
>
> *SNIP*
>
>It seems strange that the HIG would say this is ok, but then have the
>NSBox API not support it....or, have I missed something?

What you've missed is that this is something Carbon can do that Cocoa
cannot. :( If you launch IB and create a new Carbon window, add a Box,
then you can change its type to 'popup'.

You could maybe make a custom NSView that uses HITheme APIs to draw.
Perhaps HIThemeDrawGroupBox() is the right one...

Sean


_______________________________________________

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: NSBox with a NSPopUpButton
      • From: Eric Gorr <email@hidden>
    • Re: NSBox with a NSPopUpButton
      • From: Kyle Sluder <email@hidden>
References: 
 >NSBox with a NSPopUpButton (From: Eric Gorr <email@hidden>)

  • Prev by Date: Re: NSPropertyListSerialization and string encoding
  • Next by Date: Re: NSBox with a NSPopUpButton
  • Previous by thread: Re: NSBox with a NSPopUpButton
  • Next by thread: Re: NSBox with a NSPopUpButton
  • Index(es):
    • Date
    • Thread