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: John Walter <email@hidden>
- Date: Sat, 26 Nov 2005 00:32:48 +0100
2005/11/25, Uli Kusterer <email@hidden>:
> 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.
You wouldn't happen to know how to do this, would you ? It wouldn't be
a problem if I had the source code of all the target apps I want to
deploy , but I'm not sure Microsoft would be kind enough to give me
the source code of Word or Excel (which are Carbon apps if I'm right,
but I think you got my point).
> Similarly, you should be able to hook into Carbon update
> events for Carbon apps.
OK I'll try to look through the doc for this.
>
> 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.
Well, as I said in my previous message, my application currently works
as VNC servers do, but it's not exactly what I want. VNC only show you
what is currently dsplayed on the screen, you have to be logged to
interact with your environment and applications using VNC. In a
Terminal Services/Citrix environment, you just need to authenticate
again the Active Directory or the server local user directory to be
able to run your apps remotely. At this point, a VNC server would only
display the login screen of the server...
Thanks for your answers.
>
> 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