Thanks for the advice - the idea of the program is that it downloads a picture of the Sun from a set URL (http://sohowww.nascom.nasa.gov/data/...024/latest.jpg) and displays it when the window is opened. I have got it to downlod, and, now I know that I need to recompile every time I want to view the new image.

Can you offer any help on the WM_INITDIALOG option?

Thanks.