I was wondering if anyone new if i could attach my OpenGL picture into a CStatic object on my dialog based program? I have tried making a subclass of CStatic called COpenGLStatic, and making a member variable of the Static object in the dialog box a COpenGLStatic object. And in the COpenGLStatic i would put all my openGL code. The program complies and runnes, but where the COpenGLStatic is on the dialog box nothing shows up. So if anyone can help me i would be a very happy programmer,
Thanks . . .