combining opengl code with win32 project

Hi everyone, i am using visual c++ 2008. I have created a window with the menu following win32 application and i have also created a second code of opengl which is based on this link
http://www.mrmoen.com/wordpress/wp-content/uploads/2008/03/opengl.cpp
can someone please help me because i dont know how to combine them
thank you