Re: Need help with initializing Menu check boxes
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