• 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: (Urgent)Calculating the VisRgn of my windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Urgent)Calculating the VisRgn of my windows


  • Subject: Re: (Urgent)Calculating the VisRgn of my windows
  • From: Larry Gerndt <email@hidden>
  • Date: Thu, 14 Jul 2005 08:42:38 -0700


On Jul 14, 2005, at 5:07 AM, Ayush Ghai <email@hidden> wrote:

Actually I am working on a real time collaboration project which has a
functionality of sharing individual applications. So the host selects
the windows on screen which he wants to share with the attendees of
the meeting.The shared windows are then highlighted by drawing my own
red bordered transparent sister windows each of those shared windows.

How do you determine the size/location of the shared window to begin with? I worked on a nearly identical application as the one you're developing, and I used the Accessibility API both for finding out which window the user clicked (after arming my app to wait for the click), and for determining the size/location of that window. I even used it be notified whenever that window moved (by becoming an observer of that window). That API provides ways to get the bounds of the entire window. If you need sample code, you can either ask me for mine, or take a look at Apple's UIElementInspector sample.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: (Urgent)Calculating the VisRgn of my windows
      • From: Ayush Ghai <email@hidden>
  • Prev by Date: Re: How to make my own 'dock' like menu from App Icon?
  • Next by Date: Re: How to make my own 'dock' like menu from App Icon?
  • Previous by thread: (Urgent)Calculating the VisRgn of my windows
  • Next by thread: Re: (Urgent)Calculating the VisRgn of my windows
  • Index(es):
    • Date
    • Thread