Re: Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click
Re: Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click
- Subject: Re: Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click
- From: "E. Wing" <email@hidden>
- Date: Wed, 22 Nov 2006 14:17:41 -0800
Thanks, that's what I needed.
Thanks,
Eric
On 11/21/06, PGM <email@hidden> wrote:
You can reset the flag using NSMenuDidEndTrackingNotification
Cheers, Patrick
On 21-Nov-06, at 22:58 PM, E. Wing wrote:
> Thank you for the reply. I will stick with mouseDown: then.
>
> But for the second question, I don't think I can reliably track this
> information myself. The problem is that if the user clicks outside my
> view to cancel a menu, my view won't receive the event, and I won't be
> able to change the isMenuVisible flag. Is there a Cocoa API that can
> tell me if this menu is open?
>
> Thanks,
> Eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins (at) lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden