glut popup menu/subwindow/argument window


I have two problems porting my application to mac os9. the popup menu dont appear and
the subwindows are created as normal windows.

Does anybody knows how to solve the problem?

Also, is there a way to avoid the glut window asking for program argument when you launch the application



I think you will find your popup menu items in the menu bar.

Subwindows are not handled correctly in the Mac version of glut. I know of no solution other than not using subwindows. I believe the problem exists due to capabilities that X windows has that have no equivalent in the MacOS window manager.

To avoid the dialog asking for command line arguments simply remove the call to glutInit();