can a window tell me if its at the front?

chirokopter@yahoo.co.'s icon

i'm trying to use mousestate to change data in several
windows

how can i stop changing data in all the windows at
once when i move the mouse? i think i need to get info
about which windows at the front, to filter the
mousedata ...or is there another way?

thanks
j

NEW Yahoo! Cars - sell your car and browse thousands of new and used cars online! http://uk.cars.yahoo.com/

Andrew Benson's icon

the active object should do this for you.

:)
Andrew