open GL on a MFC dialogue

I am trying to use opengl on a mfc dialogue, all the examples I have using visual c++ use the doc/view architecture. Is it possible to do this on a purely dialogue app, and are there any tutorials out there because I am an openGL virgin!


<sarcasm> Hmmm… I wonder if this question has been asked before… Guess what, I just looked down about ten posts and I found a thread with the subject “MFC &OpenGL”. I wonder if it’s related to your question? </sarcasm>

Here’s the link:

In short the answer to both questions is yes.

Try MFC & OpenGL at