...

View Full Version : Detect window move



bunion
05-09-2009, 10:30 PM
Hi, I want to detect when the window is moved, in order to trigger something.

I have managed to get the current X and Y coordinates, but other than checking periodically for changed coordinates, is there a way to do this?

I want to be able to trigger the code pretty instantly when the window is moved. Probably not possible without checking every half a second - this would be too cpu intensive right?

Thanks 4 reading.

Philip M
05-10-2009, 10:25 AM
I want to be able to trigger the code pretty instantly when the window is moved. Probably not possible without checking every half a second - this would be too cpu intensive right?



Yes, right. In any case, why do you want to do this?

bunion
05-10-2009, 09:11 PM
I get javascript to start a flash animation. Oh well.. Thanks for the help.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum