• 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: How to know when a window is drawn ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to know when a window is drawn ?


  • Subject: Re: How to know when a window is drawn ?
  • From: Uli Kusterer <email@hidden>
  • Date: Fri, 25 Nov 2005 14:12:07 +0100

Am 25.11.2005 um 10:16 schrieb John Walter:
Firstly my application needs to know when the target app will redraw
its windows, and what areas of these windows are concerned (ie which
are invalidated). I assumed I could do this with a kind of event API,
but I found nothing helpful.

In a Cocoa app, you could probably inject yourself to override a few NSView methods (drawRect:, for instance) to notify your app of redraws. Similarly, you should be able to hook into Carbon update events for Carbon apps.


There's probably an easier way that doesn't involve code injection. There are a couple VNC servers for MacOS X. Check whether one of those is open source and how it does what it does.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ 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: How to know when a window is drawn ?
      • From: John Walter <email@hidden>
References: 
 >How to know when a window is drawn ? (From: John Walter <email@hidden>)

  • Prev by Date: Re: expose hotkeys
  • Next by Date: Re: System overhead when creating pthreads?
  • Previous by thread: How to know when a window is drawn ?
  • Next by thread: Re: How to know when a window is drawn ?
  • Index(es):
    • Date
    • Thread