• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: copy/paste in modal window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >copy/paste in modal window (From: Dave McCarthy <email@hidden>)
 >Re: copy/paste in modal window (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Best way to Define Project Wide Static Strings?
  • Next by Date: Re: Problem with vCard and AddressBook ABPerson UID, HELP!!
  • Previous by thread: Re: copy/paste in modal window
  • Next by thread: iPad: UIImagePickerController
  • Index(es):
    • Date
    • Thread