PyCMenu.DeleteMenu

string = DeleteMenu(id, flags )

Deletes the specified menu item.

Parameters

id : int

The id of the item being deleted.

flags : int

Specifies how the id parameter is interpreted. It must be one of win32con.MF_BYCOMMAND or win32con.MF_BYPOSITION.