I just noticed that even if i bring up a stock dialog (like the put file dialog to save a file) that command-x still doesn't work. for these dialogs it DOES flash (hilite) that menu, but no cutting happens. So I don't think it matters how i am running the modal dialogs, because a stock dialog (cocoa is running) also has this problem.
On Tue, Jul 26, 2011 at 9:29 AM, Andy Lee <ag...@mac.com> wrote: > On Jul 26, 2011, at 12:03 PM, Bill Appleton wrote: > > The items in the main menu DO have the standard key bindings, they are > > disabled when the modal dialogs come up > > That is odd. My question is, how do those menu items "know" to be enabled > when we run a modal dialog the more usual way, using a nib? Seems like > something I should know but I don't have the answer offhand. I'd search the > docs but I have to run in a minute -- maybe the answer is in the doc "How > Modal Windows Work"? Or in the event handling doc mentioned earlier? > > > The dialogs are modal > > Out of curiosity, how are you displaying your dialogs? Are you using [NSApp > runModalForWindow:]? Using a modal session? Something else? > > --Andy > > _______________________________________________ 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