Usable mainmenu when sheet is shown

Posted by neoneye on Stack Overflow See other posts from Stack Overflow or by neoneye
Published on 2010-04-25T17:34:22Z Indexed on 2010/04/25 20:03 UTC
Read the original article Hit count: 287

Filed under:
|
|
|
|

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];

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about modal-dialog