• 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: Find Window Under Mouse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Find Window Under Mouse (From: Henry McGilton <email@hidden>)

  • Prev by Date: Re: Getting Application Path
  • Next by Date: Multilingual name aliasing
  • Previous by thread: Find Window Under Mouse
  • Next by thread: Re: Annoying button highlight & create palettes
  • Index(es):
    • Date
    • Thread