Re: How to get CGScreenRegisterMoveCallback working?
Re: How to get CGScreenRegisterMoveCallback working?
- Subject: Re: How to get CGScreenRegisterMoveCallback working?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 29 Oct 2008 12:08:22 -0600
On Oct 29, 2008, at 12:00 PM, Steve McLeod wrote:
I am trying to detect whether any window moves on the screen. As far
as I
can tell CGScreenRegisterMoveCallback should let me do this. But in
the
little test code below, which registers callbacks then waits 20
seconds, I
never see the message "Updated" or "Refreshed". The code builds and
runs
without warnings.
Any ideas?
You need to create and run a run loop.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden