OK, found a really easy solution - I just use a magic number in the
contextual menu item's tag. I'm guessing that for commands such as
Paste the tag would generally not have much to do.
------
S.O.S.
On 29 Mar 2008, at 2:51 pm, Graham Cox wrote:
I'd like to treat the Paste command that comes from the main Edit
menu and a contextual menu slightly differently - in the latter case
I want to position the object based on the mouse, for the main menu
it just centres it in the view. What's a good way to tell them apart?
------
S.O.S.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/graham.cox%40bigpond.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]