Re: (Urgent)Calculating the VisRgn of my windows
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