Re: Canceling a pop-up menu?
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.