Tao.FreeGlut SDK Documentation

Glut.glutDestroyMenu Method 

Destroys the specified menu.

[Visual Basic]
Public Shared Sub glutDestroyMenu( _
   ByVal menu As Integer _
)
[C#]
public static void glutDestroyMenu(
   int menu
);

Parameters

menu
The identifier of the menu to destroy.

Remarks

glutDestroyMenu destroys the specified menu by menu. If menu was the current menu, the current menu becomes invalid and glutGetMenu will return zero.

See Also

Glut Class | Tao.FreeGlut Namespace | glutCreateMenu | glutGetMenu