Create an empty popup menu.
Append a command item.
Append a separator line.
Append a submenu under label.
Release the menu's native resources: drop its items from the command registry and destroy its HMENU (which frees any submenu handles too).
Find a stored item by id, searching this menu and its submenus.
The native menu handle.
Set (or clear) the check mark on item id.
Enable or disable item id.
Change the visible label of item id (its accelerator text is preserved), searching this menu and its submenus. Returns true if the item was found. Useful for retranslating menus when the UI language changes at runtime.
A popup menu — a list of items, separators and submenus.
Wraps an HMENU from CreatePopupMenu. Use as a window menu's child (via MenuBar.append), as a submenu (via appendSubmenu), or as a standalone context menu (via showPopupMenu).