• 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: NSAlert - multiple key equivalents for buttons?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAlert - multiple key equivalents for buttons?


  • Subject: Re: NSAlert - multiple key equivalents for buttons?
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 7 Oct 2009 11:04:02 -0700

On Wed, Oct 7, 2009 at 10:58 AM, David Reitter <email@hidden> wrote:
> What is the easiest way to get my customized NSAlert to allow multiple key
> equivalents for its buttons?

You're probably going to need to stop using NSAlert and start using
your own window as a sheet.  Then you should be able to override
-sendEvent: to perform your custom processing.

--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: 
 >NSAlert - multiple key equivalents for buttons? (From: David Reitter <email@hidden>)

  • Prev by Date: NSAlert - multiple key equivalents for buttons?
  • Next by Date: Re: NSAlert - multiple key equivalents for buttons?
  • Previous by thread: NSAlert - multiple key equivalents for buttons?
  • Next by thread: Re: NSAlert - multiple key equivalents for buttons?
  • Index(es):
    • Date
    • Thread