Well, I figured out most of it, but one thing I cant figure out is how to do the preview box of the screensaver. I read somewhere that you have to make the preview form a child of the handle you get from the second argument you get when your program gets called from the display. I tried lots of stuff, but I cant figure out how to do this. How do you that?