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
can someone please help me because i dont know how to combine them
thank you