Create an empty menu bar.
Append a top-level menu under label.
Build an accelerator table from every accelerator-bearing item in the bar. Returns null when there are no accelerators.
Release the menu bar's native resources: drop every item from the command registry and destroy the bar's HMENU (which frees its menus' handles too).
Find a stored item by id across every menu in the bar.
The native menu handle.
Set (or clear) the check mark on item id.
Enable or disable item id.
Change the label of item id anywhere in the bar (accelerator preserved). Call DrawMenuBar(window.handle) afterward if a top-level item changed.
Change the title of the top-level menu at index (e.g. retranslating "File"/"Edit"). Call DrawMenuBar(window.handle) afterward to repaint.
A window menu bar — the horizontal strip of top-level menus.
Wraps an HMENU from CreateMenu. Build it with append, then attach it to a window with Window.setMenuBar, which also installs its accelerator table.