>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,859898
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up