Re: Getting Window FrameRect From another launched Application
Re: Getting Window FrameRect From another launched Application
- Subject: Re: Getting Window FrameRect From another launched Application
- From: David Duncan <email@hidden>
- Date: Wed, 19 Sep 2007 10:41:17 -0700
On Sep 18, 2007, at 6:19 PM, Stanislas Polu wrote:
Actually it would be to design some kind of "window-sensitive" VNC
server/client. Therefore I need to be able to track the window
rectangles of third-party apps. Does it helps ?
For a VNC type app you generally don't really want to track the
windows themselves, you want to track the areas of the screen that
have changed. You can do that by registering for screen update
callbacks via Quartz Display Services. See CGRemoteOperation.h for
API information.
Now if you want to track only specific apps, then you might need to
get some cooperation from those applications (either via
Accessibility or Apple Events) but if you are just trying to reduce
the amount of traffic you pass this should be fine.
--
David Duncan
Apple DTS Quartz and Printing
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden