COpenGLWnd class

The COpenGLWnd class implementation provides the COpenGL class method functions without need to implement the object window messages processing by derived classes. The COpenGLWnd class object embeds the COpenGL class object, exposes the same method functions as the COpenGL class and implements the object window message processing by itself. In addition, it provides public access to the embedded COpenGL object.

The COpenGLWnd class implementation is delivered together with the OglSample sample application in the source code form. It is implemented in the MfcClassGL.cpp and MfcClassGL.h files. To use the COpenGLWnd class, copy the MfcClassGL.cpp and MfcClassGL.h files to your project and compile them together with your application.

See Also

COpenGLWnd methods, COpenGL class, derive custom classes from the COpenGLWnd, create an OpenGL window, setting up the project for using the ClassGL library