• 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: HotKeys in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HotKeys in Cocoa


  • Subject: Re: HotKeys in Cocoa
  • From: Allan Odgaard <email@hidden>
  • Date: Sat, 24 Aug 2002 09:28:16 +0200

On lxrdag, aug 24, 2002, at 03:20 Europe/Copenhagen, email@hidden wrote:

It seems this sample code is broken under 10.2, anyone found a fix yet?

When you type the hotkey, the app crashes...

The sendEvent selector of NSApplication will crash if you call it with an event of type NSSystemDefined.

So make a check that omits calling super if that's the case.
--
http://www.diku.dk/students/duff/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: HotKeys in Cocoa
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: HotKeys in Cocoa (From: email@hidden)

  • Prev by Date: Re: Frameworks refernce online...
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: HotKeys in Cocoa
  • Next by thread: Re: HotKeys in Cocoa
  • Index(es):
    • Date
    • Thread