MFC_OpenGLView.cpp
// openGL by proverbs
// GL Rendering Context Creation Functions
//
// Since we are using Windows native windowing, we need to set up our own
// OpenGL rendering context. These functions do it to the main view area.
// It is possible to do it to a smaller sub view. If you are curious, you can
// find tutorials on how to do that on the net.
//
openGL by proverbs
GL Rendering Context Creation Functions

Since we are using Windows native windowing, we need to set up our own
OpenGL rendering context. These functions do it to the main view area.
It is possible to do it to a smaller sub view. If you are curious, you can
find tutorials on how to do that on the net.
openGL by proverbs GL Rendering Context Creation Functions Since we are using Windows native windowing we need to set up our own OpenGL rendering context . These functions do it to the main view area . It is possible to do it to a smaller sub view . If you are curious you can find tutorials on how to do that on the net .
void CMFC_OpenGLView::SetError(int e)
{
	if (ErrorStrings[0] == m_ErrorString)
	{
		m_ErrorString = ErrorStrings[e];
	}
}
void CMFC_OpenGLView :: SetError ( int e ) { if ( ErrorStrings [ 0 ] == m_ErrorString ) { m_ErrorString = ErrorStrings [ e ] ; } }
openGL by proverbs
GL Rendering Context Creation Functions
openGL by proverbs GL Rendering Context Creation Functions
// if there was no previous error, // then save this one