• 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: Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: PGM <email@hidden>
  • Date: Tue, 21 Nov 2006 23:58:53 -0500

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


  • Follow-Ups:
    • Re: Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click
      • From: "E. Wing" <email@hidden>
References: 
 >Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click (From: "E. Wing" <email@hidden>)
 >Re: Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click (From: "Alan Smith" <email@hidden>)
 >Re: Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click (From: "E. Wing" <email@hidden>)

  • Prev by Date: Your information [:.VIRUS.:]
  • Next by Date: Can't get my application to see my Help Folder
  • Previous by thread: Re: Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click
  • Next by thread: Re: Questions for implementing pop-up contextual menus for Ctrl-Click and Right-Click
  • Index(es):
    • Date
    • Thread