• 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: Getting Window FrameRect From another launched Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Getting Window FrameRect From another launched Application (From: Stanislas Polu <email@hidden>)
 >Re: Getting Window FrameRect From another launched Application (From: "Clark Cox" <email@hidden>)
 >Re: Getting Window FrameRect From another launched Application (From: Stanislas Polu <email@hidden>)

  • Prev by Date: Re: Spy++ for Cocoa/Mac OS X?
  • Next by Date: calling willChangeValueForKey on NSManagedObject causes fetch of unrelated to-many relationships
  • Previous by thread: Re: Getting Window FrameRect From another launched Application
  • Next by thread: Unarchiving data from NSUserDefaults
  • Index(es):
    • Date
    • Thread