Many thanks to Vinod and Tom for the examples.
From these I can see that I should be using SetWindowPos() rather than MoveWindow(), and I have updated the attached example accordingly.
I guess what I would really like is the ability to save a .VXE file with various options that will apply just to that file.
e.g. all the options that are currently available as veerun command-line switches, plus a couple of new ones: noresize, disablemaximize, disableminimize
Another one for the VEE wishlist
--- To subscribe please send an email to: "email@example.com" with the word subscribe in the message body. To unsubscribe send a blank email to "firstname.lastname@example.org". To send messages to this mailing list, email "email@example.com". If you need help with the mailing list send a message to "firstname.lastname@example.org". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".