RemoveMenuItemEx  Top  Previous  Next



Success = RemoveMenuItemEx(Menu.i, ItemID.l, byPosition.b)


Removes a menu item from a MenuEx.

Menu is the handle/ID of the menu you wish to remove the item from. If byPosition.b is false, ItemID.l is the ID of the desired item to remove. If byPosition.b is true then ItemID.l is the index of the item to remove, zero being the first item in the menu.

Any hot-key automatically created for this menu item will also be removed.

Returns nonzero for success or zero for failure.

See InsertMenuItemEx, MenuItemEx.


MenuEx Index