• 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
NSMenuItem custom view and isHighlighted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMenuItem custom view and isHighlighted


  • Subject: NSMenuItem custom view and isHighlighted
  • From: Francisco Tolmasky <email@hidden>
  • Date: Sat, 12 Jul 2008 22:43:01 -0700

I'm trying to use the new custom views in NSMenuItem from within an NSPopUpButton. However, I would like these items to still be "selectable", that is, if the user lets go while hovering on top of one, I'd still like the NSPopUpButton to use it's index for the displayed item. I can't seem to find any way of telling the NSPopUpButton to select the said item if the user lets go of the mouse (or clicks), on the custom view. Is there any way to achieve this?

Thanks,

Francisco
_______________________________________________

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


  • Prev by Date: Problem on reload data source of a table view
  • Next by Date: Re: Problem on reload data source of a table view
  • Previous by thread: Re: Problem on reload data source of a table view
  • Next by thread: Cocoa : Drag/ drop from a table view onto a NSTextfield
  • Index(es):
    • Date
    • Thread