• 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
Custom NSMenu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom NSMenu


  • Subject: Custom NSMenu
  • From: Marco Cassinerio <email@hidden>
  • Date: Sun, 15 Jun 2008 17:09:48 +0200

I've to build e custom menu like this:

| "menu item 1" | "menu item 2" | "menu item 3" |

Every menu item is a NSPopUpMenu's subclass with a custom image displayed. When the user left-click on a menu item a PopUpMenu is displayed.
What i would is let the user to left-click and move mouse over the others menu item to display their respective popupmenu.


I tried to add a tracking rect to every menu item but mouseEntered: and mouseExited: events seem to not be delivered when popupmenu is opened.
Is it a correct behaviour? How can i track mouse events when a popupmenu is opened?


Marco.
_______________________________________________

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: Custom NSMenu
      • From: Graham Cox <email@hidden>
  • Prev by Date: NSNumberFormatterPercentStyle flakiness
  • Next by Date: Re: How to disconnect bound views temporarily
  • Previous by thread: Re: NSNumberFormatterPercentStyle flakiness
  • Next by thread: Re: Custom NSMenu
  • Index(es):
    • Date
    • Thread