Getting the Window menu item for a window
Getting the Window menu item for a window
- Subject: Getting the Window menu item for a window
- From: Mark Alldritt <email@hidden>
- Date: Sat, 13 Nov 2004 09:37:51 -0800
Hi,
Can anyone show me how to get the NSMenuItem instance for the Window menu
item corresponding to a particular window? I want to add a state indicating
icon to the menu item for some of my windows.
NSApplication's windowsMenu gives me the windows menu, but the items in this
menu don't appear to be tagged in any useful way and the representedObject
is nil.
Thanks
-Mark
---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB: http://www.latenightsw.com/ CANADA V8V-4M9
_______________________________________________
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