RemoveMenuItem Function

Removes an item from the menu.

bool RemoveMenuItem(Handle menu, int position)

Parameters

Handle menu

Menu Handle.

int position

Position, starting from 0.

Return Value

True on success, false on failure.

Errors

Invalid Handle or menu position.