View Full Version : GLUT with MFC is possible or not

10-01-2002, 02:06 PM
is that for GLUT programming void main(arg...) or int main(argc...)is necessary.

I want to open a GLUT window when clicked on a MenuItem of a Dialog Based Interface's Menu.

What code has to be written in OnClickButton() function to open a Glut Window ..
or is it that it is not possible

10-01-2002, 04:45 PM
If u familiar with MFC. In MFC u can add a mouse function. Then MFc also create a window for u.. so u don't need to call void main().The main() in glut just help us to create a window.

if u want to use glut function, u can use

10-01-2002, 05:11 PM
MFC & GLUT dont mix well...