How do I find a window at a certain point on the screen for screenshot/screen-recording purposes?

Posted by Jake Petroules on Stack Overflow See other posts from Stack Overflow or by Jake Petroules
Published on 2010-05-19T20:14:47Z Indexed on 2010/05/21 10:20 UTC
Read the original article Hit count: 290

Filed under:
|
|
|
|

The title says it all. I'm looking for a way to do what the equivalent of WindowFromPoint and GetWindowRect do, in Carbon/Cocoa and X11.

WindowFromPoint - http://msdn.microsoft.com/en-us/library/ms633558%28VS.85%29.aspx GetWindowRect - http://msdn.microsoft.com/en-us/library/ms633519%28VS.85%29.aspx

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about win32