Thanks for tip but the menu still closes on mouse up. I wonder what the
difference is. The event from [NSApp currentEvent] is showing as a LMouseDown
which is good but the menu still takes the mouse up and closes even though you
would think it should behave like a normal menu click.
On Oct 29,
I have a similar case, and it works OK.
What I do is on mouseDown, start a timer. When that fires, it grabs [NSApp
currentEvent] and passes that as the event to the popUpContextMenu: method. The
menu tracks as expected.
The only kink was that because this was being done within a button cell's
I have a menu that I popup using popUpContextMenu:withEvent:forView: from a
mouse down event but after a delay (like a dual-state click and hold button).
The problem is when I release the mouse button the menu is closed forcing the
user to hold the mouse down the entire time they're navigating t