Popup Menu Dies

yay, more stuff
I’ve got a strange one.
I call a Popup Menu from overriding a mouseDown command in a Dialog Window. I call menu.show and when I get into the runModalLoop it automatically returns 0. I have no chance to select the menu item.

Thoughts?

Could you show me a code snippet so I can try the same thing?

I ended up making a new XCode project with the same source code, and it cleared up both issues. Must have been a setting I couldn’t find.