Hi,

I'm building a context menu for a table view. The context menu will naturally include some of the items from the application menu, but when the related actions are not available, I don't want them to show in the context menu. My question is: is there a method to determine whether an item in my context menu would be active or not, like it is done in the main menu?

In other words, I need a function that would walk through the responder chain and validate the menu items, before putting them in the context menu.

Or any suggestion on how you would handle the problem.

Thanks for the help
Mudi


_______________________________________________

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]

Reply via email to