Navigation: Subroutines > AUI > AUI_MENU > AUI_MENU Techniques and Tips
Submenus
To create a submenu, use the MBF_SUBMNU flag and specify a menuid other than 0. (Submenus whose parent menuid is 0 are top-level drop-down menus.) To create the items within the submenu, set the menuid to match the itemid of the submenu itself.