RemoveFromTopMenu Function

Removes an topobj from a TopMenu.

Plugins' topobjs are automatically removed all TopMenus when the given plugin unloads or pauses. In the case of unpausing, all items are restored.

void RemoveFromTopMenu(Handle topmenu, TopMenuObject topobj)

Parameters

Handle topmenu

TopMenu Handle.

TopMenuObject topobj

TopMenuObject ID.

Errors

Invalid TopMenu Handle.