Application Dock menus and target/action
Application Dock menus and target/action
- Subject: Application Dock menus and target/action
- From: Chris Boot <email@hidden>
- Date: Wed, 28 Aug 2002 13:53:28 +0200
Hi,
I'm writing an application and I'm trying to implement a dock menu. I've
pretty much got the whole menu implemented now but there's an issue that's
got me stuck.
The menu is a dynamically updating menu with the contents of the currently
open documents, which are values in an NSOutlineView. All the menu items
point to a single selector. The problem arises when I select one of the
items: the sender that I get in my action method is my NSApplication object,
so I have no way of finding out which item was chosen.
Is there any way I can actually get the chosen item instead of my
NSApplication object?
Thanks,
--
Chris Boot
email@hidden
"Unix is user friendly. It's just selective when choosing friends."
- Anonymous
_______________________________________________
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.