OGLComponent is a very simple Windows Form Component, derived from UserComponent, whose aim is to help developer to get started using OpenGL to draw 3D contents in a Windows Form application.

The component is written in C++ and has been tested on both Visual Studio 2005 and Visual Studio 2008.

Getting Started

The best way to learn how to use the component is to download the Visual Studio solution supplied in the download area and have a look at the supplied example application and at the comments in the source code of the component itself.

You can experiment changing the OpenGL drawing code in the OGLTestForm::redraw() method supplied in the OGLTestForm.cpp file.

Using the component

A quick tutorial on how to use the library without looking at the source is quick start guide.