The items in the main menu DO have the standard key bindings, they are disabled when the modal dialogs come up
The items in the right-click menu do NOT have the key bindings but they are enabled, i didn't make these menus The dialogs are modal I agree it should just work. Is the problem that the main app menus need to be enabled when the dialogs are up? the dialogs are not using the main app menu system at that time... thanks in advance On Tue, Jul 26, 2011 at 8:56 AM, Joar Wingfors <j...@joar.com> wrote: > > 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com