Re: How to get CGScreenRegisterMoveCallback working?

2008-10-29 Thread Steve McLeod
eIntervalSinceNow: 10]]; NSLog(@"Finished"); [pool drain]; return 0; } 2008/10/29 Nick Zitzmann <[EMAIL PROTECTED]> > > 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 >>

How to get CGScreenRegisterMoveCallback working?

2008-10-29 Thread Steve McLeod
callbacks then waits 20 seconds, I never see the message "Updated" or "Refreshed". The code builds and runs without warnings. Any ideas? Many thanks, Steve McLeod --- #import #import void MyScreenRefreshCallback (CGRectCount count, const CGRect * rectArray, void * userP

Callback for when a window from another app is moved

2008-10-26 Thread Steve McLeod
How can I ask for a function to receive notification whenever a window (from any application or one specific application) is moved, resized or closed? Thanks Steve McLeod ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin