Re: Programmatically closing a submenu (NSMenu)

2010-07-08 Thread Eric Schlegel
On Jul 7, 2010, at 4:20 PM, augusto callejas wrote: > 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 ca

Programmatically closing a submenu (NSMenu)

2010-07-07 Thread augusto callejas
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