• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Command-W
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command-W


  • Subject: Re: Command-W
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 22 May 2007 14:26:16 -0400

On 5/22/07, Brian Weitzner <email@hidden> wrote:
Hi,
     I'm in the finishing stages of my app, and I realized that the
Command-W key combinations produces a beep instead of closing the
window.  I  thought that Command-W was a property that was built into
the framework, and not one that has to be implemented (am I
correct?).  Anyhoo, any ideas on getting it to work?

A shortcut key combo like Cmd-W is a "key equivalent" / "key modifier" combination on a menu item. In this case, "Cmd-W" is usually the "close" command to close the current window. The Close menu item, in a default MainMenu.nib usually targets First Responder with an action of "performClose:" ...

 My guess is either your Close menu item has lost its key equiv or
you've disconnected it from its action.

Afterall, everyone loves Command-W... Thanks.

Not necessarily. For whatever reason, some people have an aversion to keyboard shortcuts.

--
I.S.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Command-W (From: Brian Weitzner <email@hidden>)

  • Prev by Date: Re: Command-W
  • Next by Date: Re: FTP Class
  • Previous by thread: Re: Command-W
  • Next by thread: Better way than GetNextProcess()?
  • Index(es):
    • Date
    • Thread