Re: Detect when menu closed
Re: Detect when menu closed
- Subject: Re: Detect when menu closed
- From: Dustin Voss <email@hidden>
- Date: Thu, 29 Apr 2004 10:59:43 -0700
On 28 Apr, 2004, at 9:45 PM, Steve Palmer wrote:
Is there a way to tell when a menu I've returned via menuForEvent is
being dismissed? I want to switch the selection of an outline node
when a menu is displayed, then select a different node after the menu
is dismissed.
A menu can be dismissed for several reasons: the user made a selection,
another app displayed a dialog, the user switched apps, or the user
decided to cancel the menu selection by clicking outside the menu or
hitting escape or whatever. Do you still want to switch nodes if the
user cancels or another app comes to front? If not, maybe you should
just change nodes in the menu items' action methods.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.