openGL with MFC

i used to be build application with openGL tools on win32 application or win32 console in vis c++ ver 6.0
But now, i want to use MFC app. wizard, so i can use the component from the MFC, but i can’t combine that two things.
What we suppose to do, if we want to use the component from MFC and the openGL together ?

If you’ve been using OpenGL for a while, this tutorial will be a cinch. It covers the basics of getting an OpenGL viewport up with MFC. Once you see where to put things you can start re-arranging them to suit your needs.