# ATTR_NEXT_MENU_ID

Type: | Menu attribute
Description: | The ID of the next menu in the menu bar. The menu bar attribute ATTR_FIRST_MENU_ID returns the ID of the first menu in the menu bar. When you call GetMenuBarAttribute on the first menu ID, ATTR_NEXT_MENU_ID returns the ID of the next menu in the menu bar. On the last menu, ATTR_NEXT_MENU_ID returns zero. Use the menu bar attribute ATTR_NUM_MENUS to get the total number of menus in a menu bar.
Menu Objects: | Menus, submenus.
Restrictions: | Not settable.
Data Type: | integer