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

Re: How do I implement isPointObscured?


  • Subject: Re: How do I implement isPointObscured?
  • From: Ryan Britton <email@hidden>
  • Date: Thu, 13 Oct 2005 10:15:00 -0700

You can get an ordered window list with NSWindowList().

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Functions/AppKitFunctions.html#// apple_ref/c/func/NSWindowList


On Oct 13, 2005, at 9:43 AM, Jonathan del Strother wrote:

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


_______________________________________________ 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: j o a r <email@hidden>
References: 
 >How do I implement isPointObscured? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: How do I implement isPointObscured?
  • Next by Date: Re: WebView Bindings
  • Previous by thread: How do I implement isPointObscured?
  • Next by thread: Re: How do I implement isPointObscured?
  • Index(es):
    • Date
    • Thread