This isn't a direct answer to your question, but I would recommend the NeHe tutorial for learning openGL. It will take you through creating a Window, setting up openGL, drawing on the Window, and much more.
http://nehe.gamedev....on.asp?index=01
Just remember that following a tutorial is no substitute for reading the documentation. A tutorial shows you how to use a hammer to drive in a nail. If someone then gives you a screw you will think to yourself "this looks a lot like a nail, better use a hammer!". Read the documentation on nails, screws and hammers is all I'm saying