• 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: Prevent NSMenuItem selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent NSMenuItem selection


  • Subject: Re: Prevent NSMenuItem selection
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 20 Oct 2007 00:07:31 +0200

Am 19.10.2007 um 17:02 schrieb Greg Hoover:
I'm trying to...what "section header menu items" are you referring to?

Weird... looks like only Carbon has those. You can see them, for example, in the Apple menu's "Recent Items" submenu. They essentially look and behave like disabled menu items, but in Carbon you can set a flag on any menu item to get this look, and it's a different flag than the enable state.


Anyway, I'd suggest you just use disabled menu items for now, and then use different indentation levels for your menu items to achieve the proper look. There's already an established look for such items in the OS, and it isn't selectable grey items or disabled black items.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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


References: 
 >Prevent NSMenuItem selection (From: Greg Hoover <email@hidden>)
 >Re: Prevent NSMenuItem selection (From: Uli Kusterer <email@hidden>)
 >Re: Prevent NSMenuItem selection (From: Greg Hoover <email@hidden>)

  • Prev by Date: Re: revisiting NSTableView 'on drag' row highlighting
  • Next by Date: Re: Getting list of classes inside NSBundle
  • Previous by thread: Re: Prevent NSMenuItem selection
  • Next by thread: Re: NSMessagePort/NSSocketPort & Distributed Objects [Solved]
  • Index(es):
    • Date
    • Thread