Re: copy/paste in modal window

2010-04-08 Thread Dave McCarthy
Thanks, but surely there is _something_ I can do. Subclass NSTextField? In Carbon I could peek at the event queue and intercept command+C and command+V key down events; where might I do something similar for my modal NSWindow? On Apr 7, 2010, at 4:11 PM, Kyle Sluder wrote: > On Tue, Apr 6, 2010

Re: copy/paste in modal window

2010-04-07 Thread Kyle Sluder
On Tue, Apr 6, 2010 at 2:11 PM, Dave McCarthy wrote: > I tried implementing keyDown in my window controller but it is never called. > I tried subclassing NSWindow and implementing keyDown there but it is never > called. Maybe keyDown isn't even the right place to be looking, but my Cocoa > expe

copy/paste in modal window

2010-04-07 Thread Dave McCarthy
Someone posted essentially this same question in 2004 but there were no answers. I've got a Cocoa plugin running inside a host application. The plugin opens an NSOpenPanel, and as a result of user action there, a modal window containing two NSTextFields. I'd like the user to be able to copy and