Re: Make About window respond to ⌘W in UI-less application
Re: Make About window respond to ⌘W in UI-less application
- Subject: Re: Make About window respond to ⌘W in UI-less application
- From: Michael Dippery <email@hidden>
- Date: Tue, 27 Apr 2010 09:49:53 -0400
> Don't why it's not working for you. My LSUIElement app similarly has no menu bar or dock icon, but it's various ancillory windows (About plain vanilla version, Preferences) respond to key board short cuts which are set in the main menu nib. I have done no special hacks to achieve this, it Just Works™.
>
> Does your app have a MainMenu nib file?
Perhaps this is why it isn't working: I do have a MainMenu nib, but I have long since deleted the MainMenu object in MainMenu.nib. I tried to add a new menu with a Close option that responds to the appropriate keyboard shortcut, but I'm not sure how make that the "main" menu. Maybe that's the issue?
----
Michael Dippery
email@hidden | www.monkey-robot.com
_______________________________________________
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