Re: How to know when a window is drawn ?
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