Re: Find Window Under Mouse
Re: Find Window Under Mouse
- Subject: Re: Find Window Under Mouse
- From: Tom Sutcliffe <email@hidden>
- Date: Fri, 30 May 2003 01:17:16 +0100
How do I find out which window is under the mouse? Not
just my own app's windows, but any arbitrary window?
There are mechanisms in the Accessibility UIs that come
close, but not quite . . .
Alternatively --- and I know this horse has been thoroughly
flogged already --- how to get a list of all windows. This
*is* possible --- Quartz Debug provides an existence proof.
Yes it is perfectly possible to do this but the API is private,
unsupported and mingin' to boot. See my previous posting to the list
about this... If I ever get time I'll wrap it in a nicer Obj-C API, as
the guy who worked out the API doesn't appear to have done so. If you
want to look at it yourself (good luck!), check out davidjclark's iDisk
public area for the header file.
Regards,
Tom
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.