Custom NSMenu
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