This was just thing I needed for work. You saved me a lot of trial and error. Like you, I've used GLUT windows; but I've never done OpenGL on MFC dialogs before. So seeing this has made my job easier. I really appreciate your help.
m_p_win1->Create( NULL, //CWnd default
NULL, //has no name
this, //this is the parent 0); //this should really be a different number... check resource.h
// second gl window
But they ( pointers ) refer to the same stucture, so the contents of both windows are equal, how can this be solved?
Adding new funtion to the structure? But this is not very good in case you have a lot of GL windows