Usable mainmenu when sheet is shown
- by neoneye
How does one react to menuitems that are clicked via mouse or invoked via keyboard, e.g: CMD+Q ?
[NSApp beginSheet:my_sheet ...arguments... ];
/*
The sheet is now shown and the mainmenu isn't usable.
How does one make it usable?
*/
[NSApp endSheet:my_sheet returnCode:0];