setState: on a DockMenu item ???
setState: on a DockMenu item ???
- Subject: setState: on a DockMenu item ???
- From: Yann Bizeul <email@hidden>
- Date: Sun, 5 Jan 2003 20:21:59 +0100
Hi !
I'm trying to set NSOnState on an NSMenuItem in the dock. I saw in the
list archive that Apple did not completely implement de dockMenu
(weird, should be cool guys !). So I did what is described here :
http://cocoa.mamasam.com/MACOSXDEV/2002/10/1/46998.php
replacing :
if (i) [aDictionary setObject:[NSNumber numberWithInt: marker]
forKey:@"mark"];
by
[aDictionary setObject:[NSNumber numberWithInt: marker]
forKey:@"mark"];
because i is not declared anywhere.
But all I get is NSMixedState, unable to get a normal NSOnState...
Does someone has an idea ?
--
Yann Bizeul
TYNSOE.ORG -
http://www.tynsoe.org/
Site technique consacri ` MacOS X
_______________________________________________
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.