• 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: NSMenuItemIndex given by NSMenuDidAddItemNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMenuItemIndex given by NSMenuDidAddItemNotification


  • Subject: Re: NSMenuItemIndex given by NSMenuDidAddItemNotification
  • From: j o a r <email@hidden>
  • Date: Wed, 4 May 2005 14:31:04 +0200


On 2005-05-04, at 14.27, John James wrote:

Now the problem:
method gets notified and is given a NSMenuItemIndex. How do I use this to get the associated NSMenuItem? The number does not seem to be associated with the Window Menu, but more global in nature. What is it and how do I use it?

From documentation of this notification:

The notification object is the NSMenu that just added the new menu item.

j o a r

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSMenuItemIndex given by NSMenuDidAddItemNotification (From: John James <email@hidden>)

  • Prev by Date: Re: Carbon menu with Cocoa?
  • Next by Date: Re: How to get the time and date format from user prefs
  • Previous by thread: NSMenuItemIndex given by NSMenuDidAddItemNotification
  • Next by thread: NSBox Title, NSSwitchButton and NSRadioButton text colour
  • Index(es):
    • Date
    • Thread