• 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: Need help with initializing Menu check boxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with initializing Menu check boxes


  • Subject: Re: Need help with initializing Menu check boxes
  • From: Laurent Daudelin <email@hidden>
  • Date: Fri, 03 Dec 2004 01:38:23 -0500

on 02/12/04 22:56, Michael Heinz at email@hidden wrote:

> Hey, all -
>
> I've got a document-based application that uses a number of toggled
> settings that are controlled by menu items. While I've figured out how
> to set/clear the check box on a menu item when that item is selected, I
> can't figure out how to initialize the check boxes when the document
> loads.
>
> Actually, I'd like to have those check boxes get updated whenever the
> active document changes (because different documents can have different
> settings).
>
> Any suggestions on how to do this?

Check NSWindow delegation methods.

-Laurent.
--
============================================================================
Laurent Daudelin   AIM/iChat: LaurentDaudelin    <http://nemesys.dyndns.org>
Logiciels Nemesys Software               mailto:email@hidden

dangling pointer n.: [common] A reference that doesn't actually lead
anywhere (in C and some other languages, a pointer that doesn't actually
point at anything valid). Usually this happens because it formerly pointed
to something that has moved or disappeared. Used as jargon in a
generalization of its techspeak meaning; for example, a local phone number
for a person who has since moved to the other coast is a dangling pointer.
Compare dead link.

 _______________________________________________
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: Need help with initializing Menu check boxes
      • From: Glenn Andreas <email@hidden>
    • Re: Need help with initializing Menu check boxes
      • From: Michael Heinz <email@hidden>
References: 
 >Need help with initializing Menu check boxes (From: Michael Heinz <email@hidden>)

  • Prev by Date: Re: crashing in NSUIHeartBeat thread?
  • Next by Date: RE: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Previous by thread: Need help with initializing Menu check boxes
  • Next by thread: Re: Need help with initializing Menu check boxes
  • Index(es):
    • Date
    • Thread