• 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: How to detect clicks outside of modal window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to detect clicks outside of modal window?


  • Subject: Re: How to detect clicks outside of modal window?
  • From: Scott Ribe <email@hidden>
  • Date: Thu, 03 Nov 2011 10:37:09 -0600

On Nov 3, 2011, at 10:26 AM, Vojtěch Meluzín wrote:

> Ok, let's try from the other end - how would you implement a popup menu? I mean your own custom popup menu, where you want draw and do whatever you want, but the method which called it has to wait for its result.

I wouldn't. A popup menu should be modal to its parent window, not to the app. I'd do it like I described--one call to display the child window, with a callback on completion.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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

References: 
 >How to detect clicks outside of modal window? (From: Vojtěch Meluzín <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Scott Ribe <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Vojtěch Meluzín <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Laurent Daudelin <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Vojtěch Meluzín <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Scott Ribe <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Vojtěch Meluzín <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Conrad Shultz <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Vojtěch Meluzín <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Scott Ribe <email@hidden>)
 >Re: How to detect clicks outside of modal window? (From: Vojtěch Meluzín <email@hidden>)

  • Prev by Date: Re: How to detect clicks outside of modal window?
  • Next by Date: Re: UISplitViewController some of the time
  • Previous by thread: Re: How to detect clicks outside of modal window?
  • Next by thread: Re: How to detect clicks outside of modal window?
  • Index(es):
    • Date
    • Thread