• 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
How can I detect a mouse click outside a child window on Leopard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I detect a mouse click outside a child window on Leopard?


  • Subject: How can I detect a mouse click outside a child window on Leopard?
  • From: Michael Crawford <email@hidden>
  • Date: Tue, 14 Feb 2012 08:22:15 -0500

I've implemented something like NSPopover on Leopard (10.5).  I would like this popover to disappear if the user clicks anywhere outside of the popover but I'm not sure how to do this.  Theoretically, I should be able to make the child window modal but I'm not sure that would help.  Also, I assume there is a way to capture the mouse from a given window but I've never done that before either.

Suggestions?

-Michael
_______________________________________________

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: How can I detect a mouse click outside a child window on Leopard?
      • From: Seth Willits <email@hidden>
    • Re: How can I detect a mouse click outside a child window on Leopard?
      • From: Michael Crawford <email@hidden>
  • Prev by Date: Re: copy & isEqual nightmares
  • Next by Date: iPad 5.0 Simulator problem
  • Previous by thread: iCal syncing on multiple computers
  • Next by thread: Re: How can I detect a mouse click outside a child window on Leopard?
  • Index(es):
    • Date
    • Thread