• 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: Paste Command Unavailable for NSStatusItems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Paste Command Unavailable for NSStatusItems


  • Subject: Re: Paste Command Unavailable for NSStatusItems
  • From: Karl Goiser <email@hidden>
  • Date: Sat, 24 Jan 2004 07:15:32 +1100

On 24/01/2004, at 1:21 AM, Peter Maurer wrote:

I am developing an NSStatusItem application and text fields don't respond to command keys. I presume that this is because there is no Edit menu associated with a status item object.

Did you delete the default "Edit" menu from your main NIB file? The keyboard shortcuts you're missing (e.g., command-c, command-v) are defined by the items in this menu.


Hello Peter,

Yes I did. As an NSStatusItem doesn't have any standard menu items visible, I thought they would be useless.

Guess what?

You are correct. I put an edit menu back into the application and viola! command-c, command-v and command-x suddenly work!


Thank you very much!!


Karl
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Paste Command Unavailable for NSStatusItems (From: Karl Goiser <email@hidden>)
 >Re: Paste Command Unavailable for NSStatusItems (From: Peter Maurer <email@hidden>)

  • Prev by Date: Re: HEAD request using NSURLConnection
  • Next by Date: Re: CURLHandle example code?
  • Previous by thread: Re: Paste Command Unavailable for NSStatusItems
  • Next by thread: newbie question....reading from flat file
  • Index(es):
    • Date
    • Thread