how can I control OpenGL (GLUT) windows?

I would like to know how can I create and display windows with basic OpenGL or GLUT from a basic Visual C++ 6 application.
The main problem with GLUT is the MainLoop never-return routine. I have found how to hack it, but I think I’m not using the new routine in the correct way…
Thank you all for your help.


What is it you want to do exactly? You may be able to use glut functions, or you may end up having to create a window using Win32. Check the Nehe tutorials for examples of how to do that.