>>BINDEVENT would be much better, but I don;t know how to get an object reference to the preview window. WROWS(), and the other routines find the window via its name, but don't provide an object reference.
>
>I think if you look at some of the threads found by searching for "hwnd" there should be some ideas e.g.
>
>
http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,15,859898Al,
Thank you for opening my eyes to the _w? functions in foxtools.fll
Alex