• 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
Popup dismissal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Popup dismissal


  • Subject: Popup dismissal
  • From: Fabian <email@hidden>
  • Date: Sat, 5 Jul 2008 14:46:47 +0200

Hi,

I need a notification when the user dismisses a popup menu _without
having actually clicked on a menu item_. A clumsy way of doing this
would be to check if the mouse is hovering over the menu in
NSPopUpButtonCell's "popUpDismissed" method. This way I can detect if
the user cancelled the operation by clicking on some other UI element.
But, naturally, this doesn't work if the user dismissed the menu by
pressing the escape key (because the cursor will still be hovering
over the menu). Is there a better way to do this?

Thanks.
F.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: Popup dismissal
      • From: Fabian <email@hidden>
  • Prev by Date: Re: Using deprecated methods
  • Next by Date: Re: Using deprecated methods
  • Previous by thread: Re: Using deprecated methods
  • Next by thread: Re: Popup dismissal
  • Index(es):
    • Date
    • Thread