Re: Background Helper app - brings up UI element, needs CMD-C/X/V

2015-09-28 Thread Alex Kac
OK I found the best solution :) Leave the MainMenu in the NIB. It won't be displayed, but all the actions will be handled properly. > On Sep 28, 2015, at 3:38 PM, Ken Thomases wrote: > > On Sep 28, 2015, at 4:22 PM, Alex Kac wrote: >> >> I guess I need more help than that. Here is what I’ve

Re: Background Helper app - brings up UI element, needs CMD-C/X/V

2015-09-28 Thread Ken Thomases
On Sep 28, 2015, at 4:22 PM, Alex Kac wrote: > > I guess I need more help than that. Here is what I’ve got: > > NSViewController - with a NIB that has a plain NSView, with an NSTextField in > it. Using an NSPopover, the NSViewController is the content for the popover. > > My only two classes a

Re: Background Helper app - brings up UI element, needs CMD-C/X/V

2015-09-28 Thread Alex Kac
OK I think I found something: http://cocoa.thedizzyheights.com/2010/07/cut-copy-and-paste-in-lsuielement-applications/ http://stackoverflow.com/questions/970707/cocoa-keyboard-shortcuts-in-dialog-without-an-edit-menu I’m going to try that now. > On Sep 28, 2015, at 3:22 PM, Alex Kac wrote: > >

Re: Background Helper app - brings up UI element, needs CMD-C/X/V

2015-09-28 Thread Alex Kac
I guess I need more help than that. Here is what I’ve got: NSViewController - with a NIB that has a plain NSView, with an NSTextField in it. Using an NSPopover, the NSViewController is the content for the popover. My only two classes are the NSApplication delegate, and the NSViewController. Nei

Re: Background Helper app - brings up UI element, needs CMD-C/X/V

2015-09-28 Thread Jens Alfke
> On Sep 28, 2015, at 1:05 PM, Alex Kac wrote: > > The problem is that without a menu bar, none of the CMD key functions for > text fields works now. Stuff like cut, copy paste. So with that in mind, how > do I enable that to work? You may need to capture the key events (possibly in your view