Re: Make About window respond to ⌘W in UI-le ss application

2010-04-28 Thread Jens Miltner
Am 27.04.2010 um 21:06 schrieb Michael Dippery: Sorry, didn't read your email properly. If you've already created a menu in your MainMenu nib and it's not working, perhaps you haven't actually made the connection in the nib. If that's the case, then you just need to Control-drag from

Re: Make About window respond to ⌘W in UI-le ss application

2010-04-27 Thread Michael Dippery
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

Re: Make About window respond to ⌘W in UI-le ss application

2010-04-27 Thread Ron Fleckner
On 27/04/2010, at 11:49 PM, Michael Dippery wrote: 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

Re: Make About window respond to ⌘W in UI-le ss application

2010-04-27 Thread Ron Fleckner
On 27/04/2010, at 11:49 PM, Michael Dippery wrote: 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

Re: Make About window respond to ⌘W in UI-le ss application

2010-04-27 Thread Michael Dippery
Sorry, didn't read your email properly. If you've already created a menu in your MainMenu nib and it's not working, perhaps you haven't actually made the connection in the nib. If that's the case, then you just need to Control-drag from your Close menu item to the First Responder in the

Re: Make About window respond to ⌘W in UI-le ss application

2010-04-27 Thread Ron Fleckner
On 28/04/2010, at 5:06 AM, Michael Dippery wrote: Sorry, didn't read your email properly. If you've already created a menu in your MainMenu nib and it's not working, perhaps you haven't actually made the connection in the nib. If that's the case, then you just need to Control-drag from

Re: Make About window respond to ⌘W in UI-le ss application

2010-04-26 Thread Kyle Sluder
On Mon, Apr 26, 2010 at 3:21 PM, Michael Dippery mdipp...@gmail.com wrote: Is there a way to get the About window to respond to ⌘W? If you're an LSUIElement app, you don't have a menu bar. Therefore you don't get to respond to menu key equivalents. --Kyle Sluder

Re: Make About window respond to ⌘W in UI-le ss application

2010-04-26 Thread Ron Fleckner
On 27/04/2010, at 8:21 AM, Michael Dippery wrote: I'm building a Cocoa application that runs as an item in the status bar, and I'm using LSUIElement to prevent the app's icon from appearing in the Dock. This application has an About window and an item to activate that window, using the