• 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: Dialog Command Keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog Command Keys


  • Subject: Re: Dialog Command Keys
  • From: Joar Wingfors <email@hidden>
  • Date: Tue, 26 Jul 2011 08:56:45 -0700

On 26 jul 2011, at 08:09, Bill Appleton wrote:

> There ARE cut, copy, and paste items in this menu, but they DONT have any
> command key bindings, maybe that is the problem? i didn't create this menu
> in the first place


Yes, that is at least part of the problem. If the items in your main menu doesn't have the standard key bindings set, your app won't respond to the standard set of keyboard shortcuts. Not too surprising, eh?   ;-)

Secondly, all of this should for the most part "just work". If it doesn't, or if you think that you have to provide a lot of custom code to get it working, you're doing something wrong. I'd suggest studying up on Cocoa Event Handling, like Kyle suggested, in particular the concepts around the first responder.

Are the dialogs that you mention modal? If not, how to you put them on screen?

j o a r


_______________________________________________

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

  • Follow-Ups:
    • Re: Dialog Command Keys
      • From: Bill Appleton <email@hidden>
References: 
 >Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Kyle Sluder <email@hidden>)
 >Re: Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Kyle Sluder <email@hidden>)
 >Re: Dialog Command Keys (From: Bill Appleton <email@hidden>)

  • Prev by Date: Re: Fastest high-quality thumbnail display
  • Next by Date: Re: Dialog Command Keys
  • Previous by thread: Re: Dialog Command Keys
  • Next by thread: Re: Dialog Command Keys
  • Index(es):
    • Date
    • Thread