Application Dock Menu little issue
Application Dock Menu little issue
- Subject: Application Dock Menu little issue
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 14 May 2002 14:15:20 +0200
I remembered seeing a post on this topic but was not able to find it and
an answer to it in the archive, so please accept my forthcoming
apologies if in fact it was easy to find them.
From the Cocoa Documentation, it seems you can't get the actual sender
of a message when you select a Application Dock Menu item:
"The target and action for each menu item is passed to the dock. On
selection of the menu item the dock messages your application, which
should invoke [NSApp sendAction: selector to:target from: nil]"
So are we supposed to use one specific method for every NSMenuItem in
the Application Dock Menu or is there a workaround to be able to get the
NSMenuItem sending the message? (I'd like to use the tag info)
Additional question: why is it not : [NSApp sendAction: selector
to:target from: sender]?
_______________________________________________
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.