Re: Get the window at a certain point
Re: Get the window at a certain point
- Subject: Re: Get the window at a certain point
- From: Tim Conkling <email@hidden>
- Date: Fri, 12 Nov 2004 13:39:59 -0500
Thanks to both people who sent me code to do this. However, it seems
that these solutions won't work if another app's window is covering the
window of mine that's located at the particular point, right?
Also, is the array that -[NSApplication windows] returns guaranteed to
be ordered in a way that corresponds to the z-ordering of the app's
windows? From the code samples that I was sent, it looks like people
are assuming that the array is ordered from topmost to bottommost
window -- is this a valid assumption? (I didn't see anything in the
docs about it).
Thanks again,
Tim
On Nov 12, 2004, at 12:22 PM, M. Uli Kusterer wrote:
http://www.zathras.de/programming/cocoa/UKDockableView.zip/
UKDockableWindow/NSApplicationWindowAtPoint.m
(you can just click the "Download entire archive" link to get the
actual file.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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