On 04/11/2009, at 12:25 PM, David M. Cotter wrote:

i have a menu that lives in the menu bar (top level)

but i also use it in a context menu

This is the source of your problem. Your design is working against you.

I would suggest using one instance of NSMenu for the main menu and another instance for the contextual menu. This encourages you to keep your code cleaner in logic, simpler to maintain and more flexible in the future.

I hope this helps despite the assumptions I am making about your code.

Kiel
_______________________________________________

Cocoa-dev mailing list ([email protected])

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