• 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: Ayush Ghai <email@hidden>
  • Date: Thu, 14 Jul 2005 08:57:02 -0700

HI Larry

Thanks for the reply. I have already implemented that using
Accessibility API. My red border windows dynamically move with the
shared windows. I get the size of the windows using accessibility API
and also the events corresponding to window move/minimise/maximise. So
this part is done with.

The problem I am facing now is to calculate the visible region
corresponding to the shared windows. SInce I am dynamically keeping my
windows over the shared windows, if i calculate the vis region of my
transparent red border windows on top of them then that will
effectively be the visible region of the shared windows.

On 7/14/05, Larry Gerndt <email@hidden> wrote:
>
>
> 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

References: 
 >Re: (Urgent)Calculating the VisRgn of my windows (From: Larry Gerndt <email@hidden>)

  • Prev by Date: Re: How to make my own 'dock' like menu from App Icon?
  • Next by Date: Re: More binding questions
  • Previous by thread: Re: (Urgent)Calculating the VisRgn of my windows
  • Next by thread: font of "i" in dashboard widgets?
  • Index(es):
    • Date
    • Thread