Menu buttons!

How to create menu button, edit, view, help button using glut and link it to the command. Those anyone knows how to do it. Sample of codes would be very much appreciated.
Thanks.

You may want to look at GLUI (quite old by now) or GLGooey (newer, but more game/GL oriented). Try Google.

Another solution is to use one VB form with buttons and menus, and another separate GLUT window with the 3D display (GLUT can only run as a separate window, it can not be integrated into another window).

Another option is FLTK it includes OpenGL windows and i think a GLUT compatablity mode. It also provides widget for menues button etc and GUI builder.