| MenuFlags | Function (ROM Call 0x3F4)

AMS 2.00 or higher | menus.h

short MenuFlags (HANDLE Handle);

Return the flag word for a dynamic menu/popup structure.

MenuFlags returns the flags stored in a dynamic menu structure (see MenuPopup for more information on menu structures). For the moment, the only useful flag bit is MF_ERROR, which is cleared when the menu structure is created and set if adding or changing a menu entry causes a memory error. All menu flags are described in the enum MenuFlagsEnum.

See also: MenuBegin, MenuKey