• 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 do I implement isPointObscured?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I implement isPointObscured?


  • Subject: How do I implement isPointObscured?
  • From: Jonathan del Strother <email@hidden>
  • Date: Thu, 13 Oct 2005 17:43:22 +0100

I need to tell if a point in my view is obscured by other application's windows. From the docs for -[NSWindow isVisible] :

> Returns YES if the receiver is onscreen (even if it’s obscured by other windows).

OK, so there doesn't appear to be a built-in method. Any suggestions on implementing it? AFAICT there's no way of getting a system-wide list of windows within the Cocoa API, so maybe this is to the wrong mailing list. Is Carbon the best way of doing this?

Jon

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How do I implement isPointObscured?
      • From: Eric Schlegel <email@hidden>
    • Re: How do I implement isPointObscured?
      • From: Ryan Britton <email@hidden>
  • Prev by Date: NSMatrix With NSTextFieldCell
  • Next by Date: Re: How do I implement isPointObscured?
  • Previous by thread: Re: NSMatrix With NSTextFieldCell
  • Next by thread: Re: How do I implement isPointObscured?
  • Index(es):
    • Date
    • Thread