Re: copy/paste in modal window
Re: copy/paste in modal window
- Subject: Re: copy/paste in modal window
- From: Dave McCarthy <email@hidden>
- Date: Thu, 8 Apr 2010 09:50:26 -0400
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 at 2:11 PM, Dave McCarthy <email@hidden> 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 experience is limited. What should I do to allow copy/paste for these controls?
>
> Look up NSUserInterfaceValidation. But most likely there's nothing you
> can do but complain to the author of your host app, especially if your
> Cocoa plug-in is hosted by a Carbon app.
>
> --Kyle Sluder
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden