• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detect when menu closed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Detect when menu closed
      • From: Steve Palmer <email@hidden>
References: 
 >Detect when menu closed (From: Steve Palmer <email@hidden>)

  • Prev by Date: Newbie Question
  • Next by Date: Connecting Mulitple Nibs
  • Previous by thread: Detect when menu closed
  • Next by thread: Re: Detect when menu closed
  • Index(es):
    • Date
    • Thread