• 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
Menu States
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Menu States


  • Subject: Menu States
  • From: "Cook, Mike" <email@hidden>
  • Date: Thu, 11 May 2006 15:28:38 +0100
  • Thread-topic: Menu States

Sorry if this is so simple but I have tried looking at the docs but I
must be missing something. In the MenuList.PDF it talks about Menu
states. I can turn the tick on by a [sender setState:NSOnState] but how
do I turn another menu item's tick off? It says [curItem
setState:NSOffState] but how do I know the value to put for "curItem"
when I am in a routine that is called up by another menu item sent to me
as "sender"? I know from a variable state what menu item it should be,
but how do I reference that in the language? (objective C)



Mike Cook
__
"Engineers know million to one chances happen nine times out of ten..."
__



 _______________________________________________
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

  • Follow-Ups:
    • Re: Menu States
      • From: Omar Qazi <email@hidden>
  • Prev by Date: Re: NSNumber math?
  • Next by Date: Re: malloc during selectAll -> crash
  • Previous by thread: remove horizontal lines firstColumn ?
  • Next by thread: Re: Menu States
  • Index(es):
    • Date
    • Thread