Programmatically closing a submenu (NSMenu)
Programmatically closing a submenu (NSMenu)
- Subject: Programmatically closing a submenu (NSMenu)
- From: augusto callejas <email@hidden>
- Date: Wed, 7 Jul 2010 16:20:18 -0700
hi-
i have an NSMenu that has another NSMenu as a submenu (via an NSMenuItem).
in a certain situation, when the submenu is visible, i want to close that submenu, but without closing the main NSMenu.
the documentation for [NSMenu cancelTracking] says it dismisses the menu, but when i call that on the submenu,
it dismisses the submenu but also the main NSMenu.
how can i only close a submenu without affecting the main menu?
thanks,
augusto._______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden