> 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
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.
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
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
I have a Cocoa helper app with no menu bar (since its a helper). It has a menu
status item that brings down a popover and an NSTextField:
https://www.dropbox.com/s/n0iot0it3dfw2mb/Screenshot%202015-09-28%2014.04.21.png?dl=0
The problem is that without a menu bar, none of the CMD key functions
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