Firstly, what do the #includes actually include. I assume they are unimportant and have either been left out or forgotten. But more to the point, you should have a look at PFD_DRAW_TO_WINDOW in the variable pfd.dwFlags. I too am using OpenGL for a small project I am making. I don't know that much about it but i think you might have to set it to draw to the DESKTOP. I think the desktop is just a special kind of window. What you are trying to do sounds interesting. Let me know when you have it working
-------------------------------- Customer in computer shop: "Can you copy the Internet onto this disk for me?"