Ok, I've finally managed to figure out the basics of DirectDraw.

1. Right now, I'm using windowed mode, with none of that flipping. How do I do the equivalent of a .cls?

2. I create a primary surface, and another surface to store a picture, but I have to use the Blt function, which is tedious. How do I find eg, Form.left in pixels? What must I do to enable BltFast?

3. How do I set a transparent color?