• 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: Canceling a pop-up menu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Canceling a pop-up menu?


  • Subject: Re: Canceling a pop-up menu?
  • From: Eric Schlegel <email@hidden>
  • Date: Fri, 16 Jan 2004 08:15:52 -0800

On Jan 15, 2004, at 4:37 PM, Peter Maurer wrote:

Is there any way to programatically cancel the display of a menu that has been activated with NSMenu's popUpContextMenu:withEvent:forView:?
Or can I do this with the carbon menu manager? (I'm aware of my NSMenu's MenuRef anyway.)

Since you've got the MenuRef, in 10.3 and later you could use the CancelMenuTracking API in the Carbon menu manager.

-eric
_______________________________________________
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.

References: 
 >Canceling a pop-up menu? (From: Peter Maurer <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: ANN: IDEKit - Framework for programmer editors
  • Previous by thread: Canceling a pop-up menu, continued
  • Next by thread: NSTextView data binding delay
  • Index(es):
    • Date
    • Thread