Re: How do I implement isPointObscured?
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