Thanks to the Chief, my simple XView example (that pops up an OK button and a string) now works. I attach my code, just in case anybody else is interested.
I will be moving on to look at some more complicated examples and will post them on the web in due course.
Thanks again for helping me.
Best regards, Chris.