GLUT and MFCIs there anybody with experience of wrapping (or converting) GLUT application to MFC-based one?
The problem with GLUT coexisting with MFC is that both GLUT and MFC take over the main event loop completely that leaves no control of it to the programmer. In that sense, they both compete for the event loop... Anybody had any experience in this?
hi, what i am doing now is exactly what u said
it is working well currently on both GLUT and MFC.
What I suggest is that you let MFC handle the main loop. I guess you let the GLUT do the loop to do some animation that will refresh the scr. If that is the case, you can search for CView->OnTimer, SetTimer, KillTimer.
Hope the above can do some help
What I suggest is that you let MFC handle the main loop. I guess you let the GLUT do the loop to do some animation that will refresh the scr. If that is the case, you can search for CView->OnTimer, SetTimer, KillTimer.
Hope the above can do some help