• 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
Application Dock menus and target/action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Application Dock menus and target/action
      • From: j o a r <email@hidden>
  • Prev by Date: Re: QT movie info
  • Next by Date: Re: Reordering rows in NSTableView
  • Previous by thread: Re: Multiple Help menus in Jaguar
  • Next by thread: Re: Application Dock menus and target/action
  • Index(es):
    • Date
    • Thread