Thanks Sean for the reply. Yes I wasn't thinking that much about it at the time. Thing is I did have option-command-w before and it was no problem. I'm not using it for Close All. And the Close All that is just appearing has no key equivalent. Since I had option-command-w before and it was ok it seems as I added more menu items somewhere along the line the Close All just appears by itself. And now by removing the option-command-w from my own menu item it makes the Close All go away. Anyways is there a workaround for this to make the Close All from appearing? Update: I thought doing it by code fixed the issue but I was mistaken... :-(
Rick ________________________________ From: Sean McBride <cwat...@cam.org> To: Rick C. <jo_p...@yahoo.com>; cocoa dev <cocoa-dev@lists.apple.com> Sent: Sunday, May 24, 2009 12:04:53 AM Subject: Re: strange menu item key equivalent behavior Rick C. (jo_p...@yahoo.com) on 2009-05-23 11:56 AM said: >The following situation was giving me trouble: the standard menu item >Close with a command-w key equivalent in IB would appear as Close/Close >All when running the app. I couldn't figure out why as I do not have a >Close All in my menu. I seemed to notice this behavior after inserting >another item into the same sub-menu with the key equivalent option- >command-w. The only way I was able to resolve this issue is to code the >option-command-w key equivalent where I needed it and it seems to be >ok. Has anyone experienced this or maybe there's a better explanation >to why a Close All would appear in my menu? Cmd-Option-W is the standard key equiv for Close All. Go to the Finder, open the File menu, the toggle the option key. See also: <http://developer.apple.com/documentation/userexperience/Conceptual/ AppleHIGuidelines/XHIGMenus/XHIGMenus.html#//apple_ref/doc/uid/ TP30000356-TPXREF105> Sean _______________________________________________ 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