Skip navigation.
 
mlCustom NSMenu
FROM : Marco Cassinerio
DATE : Sun Jun 15 17:09:48 2008

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.

Related mailsAuthorDate
mlCustom NSMenu Marco Cassinerio Jun 15, 17:09
mlRe: Custom NSMenu Graham Cox Jun 16, 05:31