InsertMenu

To add a menu to the menu list, use the InsertMenu method.

InsertMenu theMenu as MenuHandle, beforeID as Integer

theMenu Handle of the Menu.

beforeID 0=at the end of list, -1 = PopUpMenu and submenu;
else its where to put the menu


Description:
InsertMenu places a menu into the menu list at a specified position or after all other menus, or prepares a popup menu.

Supported platforms:
* MacOS PPC
* MacOS Carbon
* MacOS 68k

Unsupported platforms:
* Windows x86