PDA

View Full Version : GLut and MFC



JoNy
05-05-2001, 01:11 AM
Hi,
I wonder if anyone has any experince in using GLut in a MFC project. Then, how is it possible to set a Glutwindow as subwindow for a MFC-window? How do you initialize the GLut-window, since it needs the argc and argv parameters? Any other tips on this matter?
Thanks. /Jo

Deiussum
05-05-2001, 10:30 AM
It's not possible to combine MFC and glut the way you want. They are two separate frameworks. You can use MFC stuff like CStrings in a Glut project, or use glut primitives in an MFC window, but combining both glut and MFC for the same window just isn't possible.